Add 1 GB swap to nimbus
This commit is contained in:
parent
949a8d3d9c
commit
3a561cd1aa
1 changed files with 7 additions and 0 deletions
|
|
@ -22,6 +22,13 @@
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/swapfile";
|
||||||
|
size = 1 * 1024; # 1GB
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
security.sudo.extraConfig = ''
|
security.sudo.extraConfig = ''
|
||||||
Defaults lecture = never
|
Defaults lecture = never
|
||||||
Defaults pwfeedback
|
Defaults pwfeedback
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue