nixos xfs_quota: simplify restartTriggers

This commit is contained in:
Luca Bruno 2015-08-19 20:04:08 +02:00
parent 62b589a54f
commit e53e1c7070

View File

@ -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";