add haze hardware config
This commit is contained in:
parent
662a7f7b9f
commit
41ff1cacc9
3 changed files with 14 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
inputs.impermanence.nixosModules.impermanence
|
inputs.impermanence.nixosModules.impermanence
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./disk.nix
|
./disk.nix
|
||||||
|
./hardware.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
./sway.nix
|
./sway.nix
|
||||||
./syncthing.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;
|
wifi.powersave = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.useDHCP = true;
|
||||||
|
|
||||||
users.users."rpqt".extraGroups = [ "networkmanager" ];
|
users.users."rpqt".extraGroups = [ "networkmanager" ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue