nixos-conf/modules/platform/installer.nix

21 lines
457 B
Nix
Raw Normal View History

2025-07-24 13:53:49 +03:00
{
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;
};
}