Merge pull request #275831 from foo-dogsquared/nixos-guix-socket-activation-fix
nixos/guix: fix systemd socket unit
This commit is contained in:
commit
e520c76913
@ -228,14 +228,8 @@ in
|
||||
description = "Guix daemon socket";
|
||||
before = [ "multi-user.target" ];
|
||||
listenStreams = [ "${cfg.stateDir}/guix/daemon-socket/socket" ];
|
||||
unitConfig = {
|
||||
RequiresMountsFor = [
|
||||
cfg.storeDir
|
||||
cfg.stateDir
|
||||
];
|
||||
ConditionPathIsReadWrite = "${cfg.stateDir}/guix/daemon-socket";
|
||||
};
|
||||
wantedBy = [ "socket.target" ];
|
||||
unitConfig.RequiresMountsFor = [ cfg.storeDir cfg.stateDir ];
|
||||
wantedBy = [ "sockets.target" ];
|
||||
};
|
||||
|
||||
systemd.mounts = [{
|
||||
|
Loading…
Reference in New Issue
Block a user