nixos xfs_quota: simplify restartTriggers

Changed files
+1 -1
nixos
modules
programs
+1 -1
nixos/modules/programs/xfs_quota.nix
···
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";