Merge #164644: nixos/nix-daemon: workaround NixOS/nix#6285

...into staging
This commit is contained in:
Vladimír Čunát 2022-03-21 19:53:28 +01:00
commit 6facca010b
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -708,6 +708,14 @@ in
systemd.packages = [ nixPackage ];
# Will only work once https://github.com/NixOS/nix/pull/6285 is merged
# systemd.tmpfiles.packages = [ nixPackage ];
# Can be dropped for Nix > https://github.com/NixOS/nix/pull/6285
systemd.tmpfiles.rules = [
"d /nix/var/nix/daemon-socket 0755 root root - -"
];
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];
systemd.services.nix-daemon =