zowoq
ec06ea8837
nix-daemon: increase SoftResourceLimits.NumberOfFiles
...
1048576 matches the nixos/nix plist
e3a4e40a35/misc/launchd/org.nixos.nix-daemon.plist.in (L29)
2024-04-24 16:03:49 +10:00
Weijia Wang
def1e23be8
treewide: remove lib.mdDoc
2024-04-19 04:05:50 +02:00
Yacine Hmito
4fa7b5cdd1
Add security.pki.installCACerts config
...
Made is possible to disable the management of
/etc/ssl/certs/ca-certificates.crt by Nix darwin.
2023-11-11 12:36:28 +01:00
Emily
e65131e69c
treewide: convert all option docs to Markdown
...
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.
As of this commit there is no DocBook remaining in the options
documentation.
You can play along at home if you want to reproduce this commit:
$ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
nix shell nixpkgs#coreutils \
-c find . -name '*.nix' \
-exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
{} +
[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00
Malo Bourgon
08edc0e19a
Update/adapt daemon CPU/IO priority options in nix
module
...
Stop using `nice` related options like NixOS, and because `launchd`
recommends using `ProcessType` instead. Note this commit also changes
the default `ProcessType` for the `nix-daemon` from `Interactive` to
`Standard`.
2022-08-16 10:41:51 -07:00
Wael M. Nasreddine
cee84f4ea0
launchd: allow customization of the default launchd prefix
2020-04-14 15:01:37 -07:00
Daiderd Jordan
5fba29c1c8
nix-daemon: use wait4path
...
This prevents the service from starting (and thus failing) before the
nix store is mounted.
2020-02-24 22:38:32 +01:00
Daiderd Jordan
1a3a9d91b4
nix-daemon: make default values overridable without mkForce
2019-02-22 00:02:10 +01:00
Daiderd Jordan
94d2d20a5f
nix-daemon: enable forking workaround by default
...
This should be relatively safe and there's still no real solution for
it.
2019-02-18 23:06:50 +01:00
Daiderd Jordan
629fa53498
nix-daemon: use system NIX_SSL_CERT_FILE
...
Otherwise the daemon wouldn't honor extra certificates from the
security.pki options.
2019-01-16 22:47:19 +01:00
Daiderd Jordan
27a5758728
nix-daemon: add option to make service socket activated
...
This makes the service start on demand when a client connects to the
daemon socket, instead of keeping it alive.
services.nix-daemon.enableSocketListener = true;
2018-06-21 15:20:49 +02:00
Daiderd Jordan
f2ff808a4f
nix: update config options for 2.0
2018-03-26 22:14:58 +02:00
Daiderd Jordan
a9e0f71c50
nix-daemon: make cacert overridable without mkForce
...
Fixes #74
2018-03-26 21:53:31 +02:00
Daiderd Jordan
f63f4fe3fb
nix: reload daemon when nix.conf changes
2018-01-03 20:10:24 +01:00
Daiderd Jordan
48af45075a
nix-daemon: add option to configure a logfile
2017-11-28 22:25:51 +01:00
Daiderd Jordan
f0ee1438ec
nix-daemon: don't set tempDir by default
2017-10-08 13:15:13 +02:00
Daiderd Jordan
2156c30ad2
nix-daemon: fix eval
2017-07-18 20:32:32 +02:00
Daiderd Jordan
8960f57708
nix-daemon: fix condition
2017-07-18 20:27:54 +02:00
Daiderd Jordan
b883ae533f
nix-daemon: fix nixbld group warning
2017-07-18 20:19:53 +02:00
Daiderd Jordan
d684bbf202
nix-daemon: switch process type to interactive
...
Using interactive seems to have a significant impact on build times,
hopefully this doesn't impact other UI programs to much while building
packages.
2017-05-16 00:33:12 +02:00
Daiderd Jordan
39827d4335
nix-daemon: fix activation script
2017-02-19 15:49:54 +01:00
Daiderd Jordan
74c27037e6
nix-daemon: check for nixbld group before activation
...
Fixes #9
2017-02-19 13:30:26 +01:00
Daiderd Jordan
199808713e
nix-daemon: use command option
2017-01-25 21:22:40 +01:00
Daiderd Jordan
5a5ec9ac42
nix.distributedBuilds: create directory for current load
2017-01-09 22:30:15 +01:00
Daiderd Jordan
8065a509a4
services.nix-daemon: use wrapper to possibly avoid launchd startup issues
2017-01-05 23:48:09 +01:00
Daiderd Jordan
5949d2ed5d
fix cert bundle for services.nix-daemon
2016-12-15 14:27:47 +01:00
Daiderd Jordan
125dcb48b0
add nix module
2016-12-15 13:26:22 +01:00
Daiderd Jordan
4e5b313174
services.activate-system: retry if activation fails
...
this might fail a few times when /nix/store is on another filesystem.
2016-12-14 21:15:02 +01:00
Daiderd Jordan
1ab74daf82
add nix-daemon service module
2016-12-04 10:44:58 +01:00