nixos-conf/modules/platform/installer.nix

20 lines
457 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.custom.platform.installer;
in
{
options.custom.platform.installer.enable = lib.mkEnableOption "installer ISO configuration";
config = lib.mkIf cfg.enable {
boot.supportedFilesystems.zfs = lib.mkForce true;
users.defaultUserShell = lib.mkForce pkgs.bash;
custom.services.nixCacheClient.enable = true;
services.qemuGuest.enable = true;
networking.wireless.enable = false;
};
}