mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos xfs_quota: simplify restartTriggers
This commit is contained in:
parent
62b589a54f
commit
e53e1c7070
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue