forked from Zynh0722/permafrost
permafrost: enable swap
This commit is contained in:
parent
1318cedfb2
commit
fa5642f899
2 changed files with 10 additions and 10 deletions
|
@ -26,7 +26,11 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [{
|
||||
device = "/swap";
|
||||
size = 16 * 1024;
|
||||
}];
|
||||
zramSwap.enable = true;
|
||||
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.grub = {
|
||||
|
|
|
@ -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 = { };
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue