diff --git a/modules/initrd.nix b/modules/initrd.nix index ce6c79e0..bd16db5d 100644 --- a/modules/initrd.nix +++ b/modules/initrd.nix @@ -24,9 +24,6 @@ let initWrapperRealInit = "/actual-init"; - # FIXME : less hardcoding of what goes in the config... - cfg_kernel = config.mobile.boot.stage-1.kernel; - # TODO: define as an option # This is a bit buggy: # * fast burst of \n-delimited output will not work as expected @@ -81,7 +78,7 @@ let inherit (device_config) name; }; kernel = { - inherit (cfg_kernel) modules; + inherit (config.mobile.boot.stage-1.kernel) modules; }; # Literally transmit some nixos configurations.