blob: 0bb1a6da4688e38c3651815f463256d2446164a3 (
plain)
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
58
59
60
61
62
63
64
65
|
# 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 = [ "ehci_pci" "ata_piix" "xhci_pci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.loader.grub.mirroredBoots = [
{ path = "/boot0"; devices = [ "/dev/disk/by-id/ata-Hitachi_HDS5C3020ALA632_ML0220FA183NHD" ]; }
{ path = "/boot1"; devices = [ "/dev/disk/by-id/ata-WDC_WD20EARX-00PASB0_WD-WCAZAL781740" ]; }
{ path = "/boot2"; devices = [ "/dev/disk/by-id/ata-ST2000DL003-9VT166_5YD87L2R" ]; }
{ path = "/boot3"; devices = [ "/dev/disk/by-id/ata-WDC_WD20EARS-00MVWB0_WD-WCAZA0477667" ]; }
];
boot.initrd.luks.devices = {
"btrfs0".device = "/dev/disk/by-id/ata-Hitachi_HDS5C3020ALA632_ML0220FA183NHD-part3";
"btrfs1".device = "/dev/disk/by-id/ata-WDC_WD20EARX-00PASB0_WD-WCAZAL781740-part3";
"btrfs2".device = "/dev/disk/by-id/ata-ST2000DL003-9VT166_5YD87L2R-part3";
"btrfs3".device = "/dev/disk/by-id/ata-WDC_WD20EARS-00MVWB0_WD-WCAZA0477667-part3";
};
fileSystems."/" =
{ device = "/dev/mapper/btrfs0";
fsType = "btrfs";
options = [ "compress=zstd,space_cache=v2,autodefrag,subvol=slash" ];
};
fileSystems."/boot0" =
{ device = "/dev/disk/by-id/ata-Hitachi_HDS5C3020ALA632_ML0220FA183NHD-part1";
fsType = "ext4";
};
fileSystems."/boot1" =
{ device = "/dev/disk/by-id/ata-WDC_WD20EARX-00PASB0_WD-WCAZAL781740-part1";
fsType = "ext4";
};
fileSystems."/boot2" =
{ device = "/dev/disk/by-id/ata-ST2000DL003-9VT166_5YD87L2R-part1";
fsType = "ext4";
};
fileSystems."/boot3" =
{ device = "/dev/disk/by-id/ata-WDC_WD20EARS-00MVWB0_WD-WCAZA0477667-part1";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/mapper/btrfs0";
fsType = "btrfs";
options = [ "compress=zstd,space_cache=v2,autodefrag,subvol=home" ];
};
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}
|