-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhardware-configuration.nix
More file actions
57 lines (50 loc) · 858 Bytes
/
Copy pathhardware-configuration.nix
File metadata and controls
57 lines (50 loc) · 858 Bytes
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
...
}:
{
boot = {
initrd = {
availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"usbhid"
"sd_mod"
];
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/8e7d99f6-f82d-4c14-9bb6-58999b8207c1";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/2617-A23B";
fsType = "vfat";
options = [
"umask=0077"
];
};
"/data" = {
device = "pool/data";
fsType = "zfs";
};
};
hardware = {
cpu = {
intel = {
updateMicrocode = true;
};
};
enableRedistributableFirmware = true;
};
nixpkgs = {
hostPlatform = "x86_64-linux";
};
swapDevices = [
{
device = "/dev/disk/by-uuid/4051e18e-a6de-40dc-b5ca-48414f4b17e2";
}
];
}