blob: 5227e87e133a96946da97064d2b3913528eaabe1 (
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# 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 = [ "uhci_hcd" "ehci_pci" "ata_piix" "xhci_pci" "ahci" "pata_marvell" "nvme" "firewire_ohci" "usb_storage" "usbhid" "sd_mod" ];
luks.devices = {
raid6 = {
device = "/dev/disk/by-uuid/1a552384-4f74-40bf-a5cf-961ea24c339e";
};
ssd-raid1 = {
device = "/dev/disk/by-uuid/f348a104-4774-47b3-a241-b7eaca0080e3";
};
ssd-nvme = {
device = "/dev/disk/by-uuid/fdd3f054-edee-42d5-aa82-08e3477014f3";
allowDiscards = true;
};
};
mdadmConf = ''
ARRAY /dev/md/isaac:raid6 metadata=1.2 name=isaac:raid6 UUID=42f7a827:e1c05dfe:7e7977dc:ccf1a569
ARRAY /dev/md1 metadata=1.2 name=localhost:ssd-raid1 UUID=f2e398f9:e2d4d8ce:b1811e05:584bf759
ARRAY /dev/md0 metadata=1.2 name=localhost:boot UUID=a56bdcef:a622dd3a:c6af3832:591a8bb3
'';
};
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8dea04a6-4485-4cd2-bab5-d23321a11df9";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/f6b49ce4-536c-4470-ad22-2af5c2b53d61";
fsType = "ext4";
};
fileSystems."/srv/hlidskjalf" =
{ device = "/dev/disk/by-uuid/e796f44c-2b0b-40a8-af22-90beb898d25e";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/e4737a9e-2a25-4247-936d-c0c4bad82970";
fsType = "ext4";
options = [ "defaults" "quota" ];
};
fileSystems."/root" =
{ device = "/dev/disk/by-uuid/04d2f6cb-80de-43a4-80bd-d569e2304b6a";
fsType = "ext4";
};
fileSystems."/srv/media" =
{ device = "/dev/disk/by-uuid/09959dcd-e8ca-4958-89b2-993cc79fe8f7";
fsType = "ext4";
};
fileSystems."/srv/mail" =
{ device = "/dev/disk/by-uuid/d43c25b5-2c0f-4ac9-9f0b-de93c33442a1";
fsType = "ext4";
};
fileSystems."/nix/store" =
{ device = "/dev/disk/by-uuid/b36a581c-e38c-4c25-9073-18a313cce286";
fsType = "xfs";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/a27e368d-e1ed-41e5-8bcb-6e5865670532"; }
];
nix.maxJobs = lib.mkDefault 8;
}
|