summaryrefslogtreecommitdiff
path: root/modules/services/nix-daemon.nix
AgeCommit message (Collapse)Author
2024-11-16nix-daemon: enable by defaultMichael Hoang
Single user installs have been unsupported by the official Nix installer since 2.4.
2024-11-16nix-daemon: remove `with lib;`Michael Hoang
2024-09-22feat: use wait4path with script launchd optionwill
addresses https://github.com/LnL7/nix-darwin/issues/1043 fix: use exec in launchd daemon config fix: dont use a script thats in the nix store fix: remove manual wait4path in linux-builder fix: remove manual wait4path in karabiner elements fix: remove manual wait4path in nix-daemon fix: remove manual wait4path in nix-optimise fix: remove manual wait4path in tailscaled fix: autossh test Revert "fix: remove manual wait4path in nix-daemon" This reverts commit 6aec084fa5d095666e81676e78f7054c83703faa. fix: remove bad exec Reapply "fix: remove manual wait4path in nix-daemon" This reverts commit c8f136ecc555f803124af471324bc6ed1163d6dd. fix: update autossh test to reflect changes in f86e6133d957becb1958da638516b0860fbd7491 fix: services-activate-system-changed-label-prefix test fix: services-buildkite-agent test fix: services-activate-system test fix: escape ampersand fix: services-lorri test fix: services-nix-optimise test fix: services-nix-gc test refactor: use script rather than command in daemon fix: use config.command for clarity style: fix indentation fix: use lib.getExe rather than directly pointing to file revert: a87fc7bbbbdb7c25c5ad6721c93990ea035affdd - mistaken refactor meant that service waited for nix store and not the relevant path
2024-04-24nix-daemon: increase SoftResourceLimits.NumberOfFileszowoq
1048576 matches the nixos/nix plist https://github.com/NixOS/nix/blob/e3a4e40a354e1c2d177541d24d6a86a001fa87c7/misc/launchd/org.nixos.nix-daemon.plist.in#L29
2024-04-19treewide: remove lib.mdDocWeijia Wang
2023-11-11Add security.pki.installCACerts configYacine Hmito
Made is possible to disable the management of /etc/ssl/certs/ca-certificates.crt by Nix darwin.
2023-06-24treewide: convert all option docs to MarkdownEmily
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
2022-08-16Update/adapt daemon CPU/IO priority options in `nix` moduleMalo Bourgon
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`.
2020-04-14launchd: allow customization of the default launchd prefixWael M. Nasreddine
2020-02-24nix-daemon: use wait4pathDaiderd Jordan
This prevents the service from starting (and thus failing) before the nix store is mounted.
2019-02-22nix-daemon: make default values overridable without mkForceDaiderd Jordan
2019-02-18nix-daemon: enable forking workaround by defaultDaiderd Jordan
This should be relatively safe and there's still no real solution for it.
2019-01-16nix-daemon: use system NIX_SSL_CERT_FILEDaiderd Jordan
Otherwise the daemon wouldn't honor extra certificates from the security.pki options.
2018-06-21nix-daemon: add option to make service socket activatedDaiderd Jordan
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-03-26nix: update config options for 2.0Daiderd Jordan
2018-03-26nix-daemon: make cacert overridable without mkForceDaiderd Jordan
Fixes #74
2018-01-03nix: reload daemon when nix.conf changesDaiderd Jordan
2017-11-28nix-daemon: add option to configure a logfileDaiderd Jordan
2017-10-08nix-daemon: don't set tempDir by defaultDaiderd Jordan
2017-07-18nix-daemon: fix evalDaiderd Jordan
2017-07-18nix-daemon: fix conditionDaiderd Jordan
2017-07-18nix-daemon: fix nixbld group warningDaiderd Jordan
2017-05-16nix-daemon: switch process type to interactiveDaiderd Jordan
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-02-19nix-daemon: fix activation scriptDaiderd Jordan
2017-02-19nix-daemon: check for nixbld group before activationDaiderd Jordan
Fixes #9
2017-01-25nix-daemon: use command optionDaiderd Jordan
2017-01-09nix.distributedBuilds: create directory for current loadDaiderd Jordan
2017-01-05services.nix-daemon: use wrapper to possibly avoid launchd startup issuesDaiderd Jordan
2016-12-15fix cert bundle for services.nix-daemonDaiderd Jordan
2016-12-15add nix moduleDaiderd Jordan
2016-12-14services.activate-system: retry if activation failsDaiderd Jordan
this might fail a few times when /nix/store is on another filesystem.
2016-12-04add nix-daemon service moduleDaiderd Jordan