systemd service: remove generator-packages option

Use systemd.packages instead, it's less error prone and more in line with
what's expected.
This commit is contained in:
Nikolay Amiantov
2019-08-01 00:55:35 +03:00
parent ca780f4a18
commit 717b8b3219
4 changed files with 7 additions and 24 deletions
-1
View File
@@ -56,7 +56,6 @@ in
boot.initrd.kernelModules = mkIf inInitrd [ "nfs" ];
systemd.packages = [ pkgs.nfs-utils ];
systemd.generatorPackages = [ pkgs.nfs-utils ];
environment.etc = {
"idmapd.conf".source = idmapdConfFile;
-1
View File
@@ -7,7 +7,6 @@
services.udev.packages = [ pkgs.mdadm ];
systemd.packages = [ pkgs.mdadm ];
systemd.shutdownPackages = [ pkgs.mdadm ];
boot.initrd.availableKernelModules = [ "md_mod" "raid0" "raid1" "raid10" "raid456" ];