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:
@@ -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;
|
||||
|
||||
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user