Installer: Fix build.
This commit is contained in:
parent
2ef3eca866
commit
04eafe31e9
|
@ -3,17 +3,16 @@ let
|
|||
cfg = config.module.live;
|
||||
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 {
|
||||
# services.rogue.enable = true; # NOTE: Not available smh.
|
||||
fileSystems = lib.mkForce config.lib.isoFileSystems;
|
||||
services.mingetty = {
|
||||
autologinUser = "live";
|
||||
helpLine = ''
|
||||
Welcome! Both live and root users have password "live". Enjoy!
|
||||
'';
|
||||
services = {
|
||||
getty = {
|
||||
autologinUser = lib.mkForce "live";
|
||||
helpLine = ''
|
||||
Welcome! Both live and root users have password "live". Enjoy!
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
|
@ -29,11 +30,4 @@
|
|||
module = {
|
||||
package.all = true;
|
||||
};
|
||||
|
||||
services.mingetty = {
|
||||
autologinUser = "live";
|
||||
helpLine = ''
|
||||
Welcome! Both live and root users have password "live". Enjoy!
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue