diff options
| author | Dominik Kaiser | 2026-06-13 12:43:45 +0200 |
|---|---|---|
| committer | Dominik Kaiser | 2026-06-13 12:43:45 +0200 |
| commit | d6dc581b9c8e5caff8e9f05879c59ad59e176644 (patch) | |
| tree | 2586f613080bf6a3b4f9519981fd98b1a67fbe2a /modules/hosts/sol/hardware.nix | |
| parent | 2df5bc584899f427495cc20927170de2a2c84b32 (diff) | |
| download | nixos-d6dc581b9c8e5caff8e9f05879c59ad59e176644.tar.gz nixos-d6dc581b9c8e5caff8e9f05879c59ad59e176644.zip | |
Add sol
Diffstat (limited to 'modules/hosts/sol/hardware.nix')
| -rw-r--r-- | modules/hosts/sol/hardware.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/hosts/sol/hardware.nix b/modules/hosts/sol/hardware.nix new file mode 100644 index 0000000..8c00011 --- /dev/null +++ b/modules/hosts/sol/hardware.nix @@ -0,0 +1,20 @@ +{ self, inputs, ... }: { + + flake.nixosModules.lunaHardware = { config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} +; + +} |
