add homelab, nc

This commit is contained in:
iofq 2024-10-19 13:15:43 -05:00
parent ab7d7e6b81
commit e179c6e9d5
10 changed files with 206 additions and 40 deletions

View file

@ -0,0 +1,20 @@
{
modulesPath,
lib,
config,
...
}: {
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/vda";
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/vda3"; fsType = "ext4"; };
boot = {
kernelModules = ["kvm-intel"];
tmp.cleanOnBoot = true;
};
zramSwap.enable = false;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}