nix/config/Live.nix

19 lines
419 B
Nix

{ config, lib, ... }:
let
cfg = config.module.live;
in
{
config = lib.mkIf cfg.enable {
# services.rogue.enable = true; # NOTE: Not available smh.
fileSystems = lib.mkForce config.lib.isoFileSystems;
services = {
getty = {
autologinUser = lib.mkForce "live";
helpLine = ''
Welcome! Both live and root users have password "live". Enjoy!
'';
};
};
};
}