From f82156b5b8a3ee28b915540d975b9ac2663cd1f4 Mon Sep 17 00:00:00 2001 From: teesh3rt Date: Sun, 1 Feb 2026 22:00:01 +0200 Subject: [PATCH] feat: add krembo, the server --- modules/hosts/jank/krembo/hardware.nix | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/hosts/jank/krembo/hardware.nix diff --git a/modules/hosts/jank/krembo/hardware.nix b/modules/hosts/jank/krembo/hardware.nix new file mode 100644 index 0000000..483fd5a --- /dev/null +++ b/modules/hosts/jank/krembo/hardware.nix @@ -0,0 +1,35 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ ... }: + +{ + flake.modules.nixos.krembo = { config, lib, pkgs, modulesPath, ... }: { + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/c0ed85ea-78bd-4613-91c4-86f5e8772561"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/BA16-88CF"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/85a3e327-7e21-4489-a81a-79caf5c1ee09"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedributableFirmware or true; + }; +}