permafrost: enable swap

This commit is contained in:
Zynh Ludwig 2024-12-28 00:58:25 -08:00
parent 1318cedfb2
commit fa5642f899
2 changed files with 10 additions and 10 deletions

View file

@ -26,7 +26,11 @@
fsType = "vfat";
};
swapDevices = [ ];
swapDevices = [{
device = "/swap";
size = 16 * 1024;
}];
zramSwap.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub = {

View file

@ -19,17 +19,14 @@ in
"uptime"
"s_s_l_certs"
"filesystems"
"memory"
"docker"
"service_status"
"last_login"
];
programs.rust-motd.settings = {
uptime = {
prefix = "up";
};
filesystems = {
root = "/";
};
uptime.prefix = "up";
filesystems.root = "/";
service_status = {
Foundry = "foundry";
Nginx = "nginx";
@ -45,9 +42,8 @@ in
"scarlet.zynh.me" = "${config.security.acme.certs.permafrost.directory}/fullchain.pem";
};
};
last_login = {
ravenshade = 3;
};
memory.swap_pos = "beside";
last_login.ravenshade = 3;
last_run = { };
};
};