From e53e1c7070a431af250d8b15ed51ff16229f31bb Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 19 Aug 2015 20:04:08 +0200 Subject: [PATCH] nixos xfs_quota: simplify restartTriggers --- nixos/modules/programs/xfs_quota.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";