Merge pull request #6334 from NixOS/require-mounts-for-db

nix-daemon.service: require mounts for /nix/var/nix/db
This commit is contained in:
Eelco Dolstra 2022-03-30 11:40:38 +02:00 committed by GitHub
commit ed581e51cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ Description=Nix Daemon
Documentation=man:nix-daemon https://nixos.org/manual
RequiresMountsFor=@storedir@
RequiresMountsFor=@localstatedir@
RequiresMountsFor=@localstatedir@/nix/db
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
[Service]