diff options
Diffstat (limited to 'ymir')
-rw-r--r-- | ymir/hw.nix | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/ymir/hw.nix b/ymir/hw.nix index 3ddf1035..a208e114 100644 --- a/ymir/hw.nix +++ b/ymir/hw.nix | |||
@@ -15,25 +15,41 @@ | |||
15 | 15 | ||
16 | fileSystems."/" = | 16 | fileSystems."/" = |
17 | { | 17 | { |
18 | device = "/dev/disk/by-label/ymir-root"; | 18 | label = "ymir-root"; |
19 | fsType = "ext4"; | 19 | fsType = "ext4"; |
20 | }; | 20 | }; |
21 | 21 | ||
22 | fileSystems."/boot" = | 22 | fileSystems."/boot" = |
23 | { | 23 | { |
24 | device = "/dev/disk/by-label/ymir-boot"; | 24 | label = "ymir-boot"; |
25 | fsType = "ext2"; | 25 | fsType = "ext2"; |
26 | }; | 26 | }; |
27 | 27 | ||
28 | fileSystems."/home" = | 28 | fileSystems."/home" = |
29 | { | 29 | { |
30 | device = "/dev/disk/by-label/ymir-home"; | 30 | label = "ymir-home"; |
31 | fsType = "ext4"; | ||
32 | }; | ||
33 | |||
34 | fileSystems."/nix" = | ||
35 | { | ||
36 | label = "ymir-nix"; | ||
31 | fsType = "ext4"; | 37 | fsType = "ext4"; |
32 | }; | 38 | }; |
33 | 39 | ||
34 | swapDevices = | 40 | fileSystems."/root" = |
35 | [ { device = "/dev/disk/by-label/ymir-swap"; } | 41 | { |
36 | ]; | 42 | label = "ymir-home--root"; |
43 | fsType = "ext4"; | ||
44 | }; | ||
45 | |||
46 | fileSystems."/srv" = | ||
47 | { | ||
48 | label = "ymir-srv"; | ||
49 | fsType = "ext4"; | ||
50 | }; | ||
51 | |||
52 | swapDevices = []; | ||
37 | 53 | ||
38 | nix.maxJobs = 2; | 54 | nix.maxJobs = 2; |
39 | } | 55 | } |