Skip to content

Commit b9ad1c6

Browse files
committed
Add swap for smaug
1 parent 4491c83 commit b9ad1c6

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Diff for: hosts/smaug/filesystems.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
fsType = "ext4";
2525
};
2626

27-
# swapDevices = [
28-
# { device = "/dev/disk/by-uuid/6f9b9136-d3aa-4c2d-9e7e-b5aea574bca0"; }
29-
# ];
27+
swapDevices = [
28+
{ device = "/dev/disk/by-label/swap"; }
29+
];
3030

3131
}

Diff for: modules/home/vic.nix

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
perSystem,
55
osConfig ? null,
66
...
7-
}@args:
7+
}:
88
let
99
hostName = if osConfig == null then "bombadil" else osConfig.networking.hostName;
1010
in
@@ -79,8 +79,7 @@ in
7979
];
8080
};
8181

82-
packages =
83-
anywhere ++ (perHost.${hostName} or [ ]) ++ (perPlatform.${pkgs.system} or [ ]);
82+
packages = anywhere ++ (perHost.${hostName} or [ ]) ++ (perPlatform.${pkgs.system} or [ ]);
8483

8584
in
8685
packages;

0 commit comments

Comments
 (0)