summaryrefslogtreecommitdiff
path: root/host/hardware
diff options
context:
space:
mode:
authorAdrian Kummerlaender2022-01-26 16:16:42 +0100
committerAdrian Kummerlaender2022-01-26 16:16:42 +0100
commitc7d90c505aefe8719a79baa04a97d2a7937e389c (patch)
tree49cf8078ffb11c467056d9140c21a903dcc9cfb6 /host/hardware
parentd29a5d690c03b0e50484b4a4793d1c2da1db617c (diff)
downloadnixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.tar
nixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.tar.gz
nixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.tar.bz2
nixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.tar.lz
nixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.tar.xz
nixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.tar.zst
nixos_system-c7d90c505aefe8719a79baa04a97d2a7937e389c.zip
Adapt athena config from X1 to P14s
Diffstat (limited to 'host/hardware')
-rw-r--r--host/hardware/athena.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/host/hardware/athena.nix b/host/hardware/athena.nix
index 4849b6f..508507a 100644
--- a/host/hardware/athena.nix
+++ b/host/hardware/athena.nix
@@ -8,26 +8,25 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
+ boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" "fuse" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/198fbcc1-0b72-4465-891a-5959c6bfcfc6";
+ { device = "/dev/disk/by-uuid/3af135f5-9bfe-4ab4-abb3-2e93caad08ea";
fsType = "ext4";
};
fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/6510-C4DF";
+ { device = "/dev/disk/by-uuid/6290-9BB5";
fsType = "vfat";
};
swapDevices =
- [ { device = "/dev/disk/by-uuid/60bd356a-c28e-4f5e-90ff-6331a3cb7252"; }
+ [ { device = "/dev/disk/by-uuid/b3845af4-030a-4bba-bad8-89c548bde40f"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
- # high-resolution display
- hardware.video.hidpi.enable = lib.mkDefault true;
+ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}