-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardware-configuration.nix
38 lines (31 loc) · 1.09 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
38
# 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, modulesPath, ... }: {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
kernelModules = [ ];
};
kernelModules = [ "kvm-amd" ];
kernelParams = [ "acpi_enforce_resources=lax" ];
extraModulePackages = [ ];
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/4795a4c0-5040-4002-9109-2d15602a1ada";
fsType = "ext4";
};
fileSystems."/d8a" = {
device = "/dev/disk/by-uuid/48901b06-253e-4402-b391-7bcce58ffedf";
fsType = "ext4";
};
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/7662-C11F";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/66789c6a-c33f-442c-8318-e2f269989719"; }];
hardware.enableRedistributableFirmware = lib.mkDefault true;
hardware.nvidia = { powerManagement.enable = true; };
}