1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 19:41:08 +01:00
Files
niveum/systems/wilde/hardware-configuration.nix

25 lines
690 B
Nix
Raw Normal View History

2020-06-10 17:37:25 +02:00
{ config, lib, pkgs, ... }: {
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
2019-06-15 15:04:13 +02:00
2020-06-10 17:37:25 +02:00
boot.initrd.availableKernelModules =
[ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
2019-06-15 15:04:13 +02:00
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2020-06-10 17:37:25 +02:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/b700a1f4-127e-40d3-a1cf-d194785e915b";
fsType = "ext4";
};
2019-06-15 15:04:13 +02:00
2020-06-10 17:37:25 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/4474-04C0";
fsType = "vfat";
};
2019-06-15 15:04:13 +02:00
swapDevices =
2020-06-10 17:37:25 +02:00
[{ device = "/dev/disk/by-uuid/d1d62358-dce2-4081-849c-b4a9852c1c1b"; }];
2019-06-15 15:04:13 +02:00
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}