Add host "proxima"

This commit is contained in:
SebastianStork 2024-08-18 22:41:32 +02:00
parent a967af30cf
commit be2783a09b
7 changed files with 179 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ inputs, ... }:
{
imports = [
inputs.disko.nixosModules.default
./disko.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
hardware = {
enableRedistributableFirmware = true;
cpu.intel.updateMicrocode = true;
};
boot = {
kernelModules = [ "kvm-intel" ];
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
];
};
zramSwap.enable = true;
services = {
thermald.enable = true;
fstrim.enable = true;
};
}