I am on NixOS and some parts of my configuration generate systemd units, for example nix.gc.automatic=true; generates nix-gc.service.
Is there any way to add something to that service? I would like to override the nice and io scheduling of this service.
Another case where I encountered this problem is with system.autoUpgrade.enable=true; as part of my nixos configuration is encrypted with git-crypt but that program is not avaiable in the nixos-upgrade.service.