diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2015-08-19 20:04:08 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2015-08-19 20:04:20 +0200 |
commit | e53e1c7070a431af250d8b15ed51ff16229f31bb (patch) | |
tree | 9cb57ea8f055316a304c0f2b620384da83d2430c /nixos | |
parent | 62b589a54f842a72c80fb481b24451be7f9823ae (diff) | |
download | nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.tar nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.tar.gz nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.tar.bz2 nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.tar.lz nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.tar.xz nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.tar.zst nixpkgs-e53e1c7070a431af250d8b15ed51ff16229f31bb.zip |
nixos xfs_quota: simplify restartTriggers
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/programs/xfs_quota.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/xfs_quota.nix b/nixos/modules/programs/xfs_quota.nix index 129e23b7f1d..d30a85922cf 100644 --- a/nixos/modules/programs/xfs_quota.nix +++ b/nixos/modules/programs/xfs_quota.nix @@ -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"; |