summaryrefslogtreecommitdiff
path: root/hosts/ades/styx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/ades/styx.nix')
-rw-r--r--hosts/ades/styx.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/hosts/ades/styx.nix b/hosts/ades/styx.nix
new file mode 100644
index 0000000..ba35edd
--- /dev/null
+++ b/hosts/ades/styx.nix
@@ -0,0 +1,21 @@
+{ lib, ... }:
+
+let swapPart = "/dev/sda2";
+in
+{
+ boot.resumeDevice = swapPart;
+
+ fileSystems."/" = lib.mkForce {
+ device = "/dev/sda1";
+ fsType = "ext4";
+ };
+
+ fileSystems."/home" = lib.mkForce {
+ device = "/dev/sda3";
+ fsType = "ext4";
+ };
+
+ swapDevices = [
+ { device = swapPart; }
+ ];
+}