first commit

This commit is contained in:
Alexander Lampalzer 2025-05-29 09:29:43 +02:00
commit f9cc68899b
Signed by: alexander.lampalzer
GPG key ID: 20879CCACD5CD670
7 changed files with 228 additions and 0 deletions

11
modules/base.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
# Not strictly necessary, but nice to have.
boot.tmp.useTmpfs = true;
boot.tmp.tmpfsSize = "50%"; # Depends on the size of your storage.
# Reduces writes to hardware memory, which increases the lifespan
# of an SSD.
zramSwap.enable = true;
zramSwap.memoryPercent = 150;
}