hosts/Infini-STICK: update configuration

This commit is contained in:
Infinidoge 2021-10-28 10:12:13 -04:00
parent 367f465df2
commit b7c254775e
2 changed files with 7 additions and 2 deletions

View file

@ -9,7 +9,8 @@
(with hardware; [ (with hardware; [
sound sound
gpu.common gpu.amdgpu
laptop
]) ])
btrfs btrfs
@ -18,5 +19,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
networking.interfaces.wlp1s0.useDHCP = true;
system.stateVersion = "21.11"; system.stateVersion = "21.11";
} }

View file

@ -8,10 +8,12 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.kernelParams = [ "boot.shell_on_fail" ];
boot.supportedFilesystems = [ "btrfs" ];
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/b2165920-9be1-435d-838b-82346311892f"; device = "/dev/disk/by-uuid/b2165920-9be1-435d-838b-82346311892f";