Fix disko swap for cert-store
This commit is contained in:
parent
e30c7efef6
commit
26eb1164d1
12 changed files with 70 additions and 21 deletions
|
@ -18,6 +18,14 @@
|
|||
mountOptions = [ "umask=0077" ];
|
||||
};
|
||||
};
|
||||
swap = {
|
||||
size = "2G";
|
||||
content = {
|
||||
type = "swap";
|
||||
discardPolicy = "both";
|
||||
randomEncryption = true;
|
||||
};
|
||||
};
|
||||
zfs = {
|
||||
size = "100%";
|
||||
content = {
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 2 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
imports = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue