Installer: Fix build.
This commit is contained in:
parent
2ef3eca866
commit
04eafe31e9
|
@ -3,17 +3,16 @@ let
|
||||||
cfg = config.module.live;
|
cfg = config.module.live;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# TODO: Can't find a way to import this conditionally.
|
|
||||||
# imports = [ "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix" ];
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# services.rogue.enable = true; # NOTE: Not available smh.
|
# services.rogue.enable = true; # NOTE: Not available smh.
|
||||||
fileSystems = lib.mkForce config.lib.isoFileSystems;
|
fileSystems = lib.mkForce config.lib.isoFileSystems;
|
||||||
services.mingetty = {
|
services = {
|
||||||
autologinUser = "live";
|
getty = {
|
||||||
helpLine = ''
|
autologinUser = lib.mkForce "live";
|
||||||
Welcome! Both live and root users have password "live". Enjoy!
|
helpLine = ''
|
||||||
'';
|
Welcome! Both live and root users have password "live". Enjoy!
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -29,11 +30,4 @@
|
||||||
module = {
|
module = {
|
||||||
package.all = true;
|
package.all = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mingetty = {
|
|
||||||
autologinUser = "live";
|
|
||||||
helpLine = ''
|
|
||||||
Welcome! Both live and root users have password "live". Enjoy!
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue