CrOS/hosts/nixos/Infiltrator/default.nix
2025-06-24 11:34:44 -04:00

49 lines
861 B
Nix

############################
# #
# Infiltrator - Redteam VM #
# #
############################
{
inputs,
lib,
pkgs,
...
}: {
imports = lib.flatten [
# Disks
inputs.disko.nixosModules.disko
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")
{
_module.args = {
disk = "/dev/vda";
withSwap = false;
};
}
# Misc
(map lib.custom.relativeToRoot [
# Required configs
"hosts/common/core"
# Optional configs
])
];
hostSpec = {
hostName = "infiltrator";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking = {
networkmanager.enable = true;
enableIPv6 = false;
};
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
timeout = 3;
};
}