hestia/disks: add swap
This commit is contained in:
parent
f94d93f0de
commit
ac568e1700
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ with lib.our.disko;
|
||||||
datasets = {
|
datasets = {
|
||||||
storage = mkZfs "/storage" { };
|
storage = mkZfs "/storage" { };
|
||||||
backups = mkZfs "/backups" { };
|
backups = mkZfs "/backups" { };
|
||||||
|
swap = mkZvol "16G" {
|
||||||
|
type = "swap";
|
||||||
|
resumeDevice = false;
|
||||||
|
discardPolicy = "both";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue