nixos/init-script: fix eval

error: attribute 'nixos' missing

This was missed in d3528cdc3d
This commit is contained in:
Jan Tojnar 2023-01-21 13:26:47 +01:00
parent 112e7c9a8e
commit 5c87c72c1f

View file

@ -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];
};