From c5a6c523d32f4a54853f6ba9f23df941da71ea0e Mon Sep 17 00:00:00 2001 From: 514fpv Date: Tue, 9 Jan 2024 14:16:37 +0800 Subject: [PATCH] feat(eientei): initial configuration --- spec/eientei/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 spec/eientei/default.nix diff --git a/spec/eientei/default.nix b/spec/eientei/default.nix new file mode 100644 index 00000000..ba2e55df --- /dev/null +++ b/spec/eientei/default.nix @@ -0,0 +1,27 @@ +{ + global = { + id = "6b564d01975a4e93b4a51f34ba24e5b4"; + fs.esp.uuid = "FC6D-75D8"; + fs.type = "zfs"; + boot.lanzaboote = true; + gui.enable = true; + gui.type = "intel"; + android.enable = true; + }; + + home = { + minecraft.enable = true; + steam.enable = true; + }; + + powerManagement.enable = true; + powerManagement.cpuFreqGovernor = "performance"; + boot.kernelParams = [ "zfs.zfs_arc_max=34359738368" ]; + + hardware.enableRedistributableFirmware = true; + boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + hardware.cpu.intel.updateMicrocode = true; +}