nixos/waagent: provide waagent udev rules in initrd
This should make /dev/disk/azure appear in-initrd too.
This commit is contained in:
parent
276939e0a1
commit
f1c8d0709b
1 changed files with 7 additions and 0 deletions
|
@ -202,6 +202,13 @@ in
|
|||
|
||||
services.udev.packages = [ pkgs.waagent ];
|
||||
|
||||
# Provide waagent-shipped udev rules in initrd too.
|
||||
boot.initrd.services.udev.packages = [ pkgs.waagent ];
|
||||
# udev rules shell out to chmod, cut and readlink, which are all
|
||||
# provided by pkgs.coreutils, which is in services.udev.path, but not
|
||||
# boot.initrd.services.udev.binPackages.
|
||||
boot.initrd.services.udev.binPackages = [ pkgs.coreutils ];
|
||||
|
||||
networking.dhcpcd.persistent = true;
|
||||
|
||||
services.logrotate = {
|
||||
|
|
Loading…
Reference in a new issue