~kaction/config

ref: 871614e344d8ece5ad973fd71d112e24c2a35586 config/system-v2/nix-daemon/openrc.nix -rw-r--r-- 313 bytes
871614e3 — Dmitry Bogatov nix-sys: add "kaction" user into "video" group 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
{ writeScript, nix, cacert }:
writeScript "nix-daemon" ''
  #!/sbin/openrc-run
  export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
  export NIX_SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
  command=${nix}/bin/nix-daemon
  command_background=true
  pidfile=/run/nix-daemon.pid

  mkdir -p /run
''