-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardware-configuration.nix
37 lines (30 loc) · 1.04 KB
/
hardware-configuration.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/37423e89-c7b5-40e8-a830-4929ea0f9dee";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/531b5a5d-d041-4375-a9ac-ba57f91b1593";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C336-5792";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/8ba5cbf0-e1f6-4b79-9284-79cc8d85f51b"; }
];
nix.maxJobs = lib.mkDefault 4;
# Disable as tlp will handle the governor
# powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}