aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/disks.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-05-22 10:23:58 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-05-22 10:24:06 -0500
commit35af4bab99da94845ebd6e9b2efae6a544d39b35 (patch)
tree47c6f76b47f1012932729c9f693316df1512197a /hosts/mercury/disks.nix
parent2e0c6ccbbc76cc36e92128aea44e4bdd4e5c3d0a (diff)
LOTS OF TEMP STUFF
Diffstat (limited to 'hosts/mercury/disks.nix')
-rw-r--r--hosts/mercury/disks.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/hosts/mercury/disks.nix b/hosts/mercury/disks.nix
index 60187b1..7ef2d0d 100644
--- a/hosts/mercury/disks.nix
+++ b/hosts/mercury/disks.nix
@@ -3,17 +3,25 @@
device = "/dev/disk/by-uuid/3d80a86b-3268-4209-a833-b531b8bc0ebc";
fsType = "ext4";
};
-
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/45A4-2E5B";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
-
+ swapDevices = [
+ {
+ device = "/dev/disk/by-label/swap";
+ priority = 10;
+ }
+ ];
zramSwap = {
enable = true;
priority = 100;
algorithm = "lz4";
memoryPercent = 50;
};
+
+ boot.kernelParams = [
+ "resume=LABEL=swap"
+ ];
}