From 4ea08b3976188eb01a74548d68b227a7794b4caa Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Fri, 9 May 2025 17:54:45 -0500 Subject: Add current configuration --- hosts/ades/styx.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hosts/ades/styx.nix (limited to 'hosts/ades/styx.nix') 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; } + ]; +} -- cgit v1.2.3