roles/common: enabled zramSwap

probably okay to have this as a default as none of the machines have any swap configured
This commit is contained in:
zowoq 2023-01-04 11:59:51 +10:00
parent 28878949d5
commit e299e9ac35
2 changed files with 2 additions and 3 deletions

View file

@ -8,9 +8,6 @@
../roles/remote-builder/aarch64-build04.nix
];
# We often see evals going out-of-memory. So let's try zram swap
zramSwap.enable = true;
# /boot is a mirror raid
boot.loader.grub.devices = [ "/dev/nvme0n1" "/dev/nvme1n1" ];
boot.loader.grub.enable = true;

View file

@ -14,6 +14,8 @@
# And for the zsh peeps
programs.zsh.enable = true;
zramSwap.enable = true;
security.acme.defaults.email = "trash@nix-community.org";
security.acme.acceptTerms = true;