1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-05 16:17:47 +00:00

fix: systemd unit file

Make sure passwords are ready for services part of graphical-session.target
This commit is contained in:
Kilian Mio 2023-08-24 21:55:37 +03:00 committed by Jörg Thalheim
parent 7593c2783d
commit d9c5dc41c4

View file

@ -241,7 +241,7 @@ in {
Type = "oneshot"; Type = "oneshot";
ExecStart = script; ExecStart = script;
}; };
Install.WantedBy = if cfg.gnupg.home != null then [ "graphical-session.target" ] else [ "default.target" ]; Install.WantedBy = if cfg.gnupg.home != null then [ "graphical-session-pre.target" ] else [ "default.target" ];
}; };
launchd.agents.sops-nix = { launchd.agents.sops-nix = {