diff --git a/nixos/modules/system/boot/loader/init-script/init-script.nix b/nixos/modules/system/boot/loader/init-script/init-script.nix index 908f8b8e8c49..4d33ed6b665b 100644 --- a/nixos/modules/system/boot/loader/init-script/init-script.nix +++ b/nixos/modules/system/boot/loader/init-script/init-script.nix @@ -8,7 +8,7 @@ let src = ./init-script-builder.sh; isExecutable = true; inherit (pkgs) bash; - inherit (config.nixos.system) distroName; + inherit (config.system.nixos) distroName; path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep]; };