nixos xfs_quota: simplify restartTriggers
This commit is contained in:
parent
62b589a54f
commit
e53e1c7070
@ -96,7 +96,7 @@ in
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ ((replaceChars [ "/" ] [ "-" ] opts.fileSystem) + ".mount") ];
|
||||
|
||||
restartTriggers = [ (pkgs.writeText "xfs_quota-project-trigger-${name}" (builtins.toJSON opts)) ];
|
||||
restartTriggers = [ config.environment.etc.projects.source ];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
|
Loading…
Reference in New Issue
Block a user