add haze hardware config
This commit is contained in:
@@ -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
11
hosts/haze/hardware.nix
Normal 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;
|
||||
}
|
||||
@@ -4,5 +4,7 @@
|
||||
wifi.powersave = true;
|
||||
};
|
||||
|
||||
networking.useDHCP = true;
|
||||
|
||||
users.users."rpqt".extraGroups = [ "networkmanager" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user