1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00

initrd: minor cleanup

This commit is contained in:
Samuel Dionne-Riel 2019-12-24 15:07:38 -05:00
parent 2deed250eb
commit 5b13d6b4a8

View File

@ -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.