From ac568e170009b28016f62a0a760024ad873888d8 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 23 Nov 2024 13:08:04 -0500 Subject: [PATCH] hestia/disks: add swap --- hosts/hestia/disks.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/hestia/disks.nix b/hosts/hestia/disks.nix index 80ba583..2bf5ecc 100644 --- a/hosts/hestia/disks.nix +++ b/hosts/hestia/disks.nix @@ -32,6 +32,11 @@ with lib.our.disko; datasets = { storage = mkZfs "/storage" { }; backups = mkZfs "/backups" { }; + swap = mkZvol "16G" { + type = "swap"; + resumeDevice = false; + discardPolicy = "both"; + }; }; }; };