add haze hardware config

This commit is contained in:
2025-02-11 21:26:53 +00:00
parent 662a7f7b9f
commit 41ff1cacc9
3 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
inputs.impermanence.nixosModules.impermanence
./boot.nix
./disk.nix
./hardware.nix
./network.nix
./sway.nix
./syncthing.nix

11
hosts/haze/hardware.nix Normal file
View File

@@ -0,0 +1,11 @@
{ config, ... }:
{
nixpkgs.hostPlatform = "x86_64-linux";
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ];
boot.kernelModules = [ "kvm-intel" ];
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
}

View File

@@ -4,5 +4,7 @@
wifi.powersave = true;
};
networking.useDHCP = true;
users.users."rpqt".extraGroups = [ "networkmanager" ];
}