diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-05-09 17:54:45 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-05-09 17:54:45 -0500 |
commit | 4ea08b3976188eb01a74548d68b227a7794b4caa (patch) | |
tree | 505c0df98ed00ed592be15895b8ed3eb7aa9e2c3 /hosts/ades/styx.nix | |
download | nixos-config-4ea08b3976188eb01a74548d68b227a7794b4caa.tar.gz nixos-config-4ea08b3976188eb01a74548d68b227a7794b4caa.zip |
Add current configuration
Diffstat (limited to 'hosts/ades/styx.nix')
-rw-r--r-- | hosts/ades/styx.nix | 21 |
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; } + ]; +} |