add seele hw config

This commit is contained in:
lucy 2026-10-21 21:42:32 +02:00
commit 09bb5db1ab
3 changed files with 45 additions and 5 deletions

View file

@ -36,11 +36,9 @@ in
}; };
flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem { flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem {
modules = [ modules = [
{ seele
config.networking.hostName = "seele"; seele_quirks
];
}
]
++ mods; ++ mods;
}; };
} }

View file

@ -0,0 +1,37 @@
{ lib, ... }:
{
flake.nixosModules.seele = { config, ... }: {
boot.initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/629196f0-60e9-476e-b294-0d22fd7279c4";
fsType = "xfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2474-C1E6";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/166d1fb4-527f-4fda-a6bf-85aad4a4f917"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
}

View file

@ -0,0 +1,5 @@
{ ... }: {
flake.nixosModules.seele_quirks = {
networking.hostName = "seele";
};
}