nixos-config/hardware/pilot1.nix

27 lines
711 B
Nix
Raw Normal View History

2021-08-10 15:53:23 +02:00
{ config, lib, pkgs, ... }:
{
2022-01-01 02:13:02 +01:00
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
2021-08-10 15:53:23 +02:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2022-01-01 02:13:02 +01:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/155b5acf-a0f8-4615-ae03-43a5c193f772";
fsType = "ext4";
};
2021-08-10 15:53:23 +02:00
2022-01-01 02:13:02 +01:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/31C7-CBD1";
fsType = "vfat";
};
2021-08-10 15:53:23 +02:00
swapDevices =
2022-01-01 02:13:02 +01:00
[{ device = "/dev/disk/by-uuid/397a1a92-596f-421b-99e1-c9b2cb821309"; }];
2021-08-10 15:53:23 +02:00
2021-08-10 17:01:52 +02:00
# TODO keep this disabled?
# nix.maxJobs = lib.mkDefault 8;
2021-08-10 15:53:23 +02:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}