diff --git a/hosts/desktop/disko.nix b/hosts/desktop/disko.nix index 4eafc11..1c8789e 100644 --- a/hosts/desktop/disko.nix +++ b/hosts/desktop/disko.nix @@ -45,6 +45,7 @@ size = "20G"; content = { type = "swap"; + discardPolicy = "both"; resumeDevice = true; }; }; diff --git a/hosts/laptop/disko.nix b/hosts/laptop/disko.nix index 4a0923f..7dbe535 100644 --- a/hosts/laptop/disko.nix +++ b/hosts/laptop/disko.nix @@ -42,6 +42,7 @@ size = "20G"; content = { type = "swap"; + discardPolicy = "both"; resumeDevice = true; }; }; diff --git a/hosts/srv-core/disko.nix b/hosts/srv-core/disko.nix index b1c4d38..8cd022a 100644 --- a/hosts/srv-core/disko.nix +++ b/hosts/srv-core/disko.nix @@ -16,7 +16,10 @@ partitions = { swap = { size = "8G"; - content.type = "swap"; + content = { + type = "swap"; + discardPolicy = "both"; + }; }; root = { size = "100%";