diff --git a/profiles/disko/vm.nix b/profiles/disko/vm.nix index fdcca27..78baa49 100644 --- a/profiles/disko/vm.nix +++ b/profiles/disko/vm.nix @@ -18,12 +18,19 @@ }; }; zfs = { - size = "100%"; + end = "-4G"; content = { type = "zfs"; pool = "tank"; }; }; + swap = { + size = "100%"; + content = { + type = "swap"; + discardPolicy = "both"; + }; + }; }; }; };