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