Fix disko swap for cert-store

This commit is contained in:
Vili Sinervä 2025-06-30 01:56:57 +03:00
parent e30c7efef6
commit 26eb1164d1
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
12 changed files with 70 additions and 21 deletions

View file

@ -18,6 +18,14 @@
mountOptions = [ "umask=0077" ];
};
};
swap = {
size = "2G";
content = {
type = "swap";
discardPolicy = "both";
randomEncryption = true;
};
};
zfs = {
size = "100%";
content = {

View file

@ -1,12 +1,5 @@
{ lib, modulesPath, ... }:
{
swapDevices = [
{
device = "/var/lib/swapfile";
size = 2 * 1024;
}
];
services.qemuGuest.enable = true;
imports = [