hosts/Infini-FRAMEWORK: update hardware-configuration

This commit is contained in:
Infinidoge 2021-10-28 13:25:59 -04:00
parent 3397b4c778
commit b4b6f39965

View file

@ -4,8 +4,8 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
@ -13,19 +13,18 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/52cb23b5-0ef3-47d8-8755-b96a127d8d34";
fsType = "ext4";
fileSystems."/" = {
device = "/dev/disk/by-uuid/b99971c6-bdd2-4c55-8992-72d17c19e4b1";
fsType = "btrfs";
options = [ "subvol=@" "autodefrag" "noatime" ];
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/3FC9-0182";
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/3FC9-0182";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/28672ffb-9f1c-462b-b49d-8a14b3dd72b3"; }
];
swapDevices = [{ device = "/dev/disk/by-uuid/28672ffb-9f1c-462b-b49d-8a14b3dd72b3"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
# high-resolution display