1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

25 commits

Author SHA1 Message Date
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