Compare commits

...

3 commits

Author SHA1 Message Date
741a77417a hardware/module.nix: enable irqbalance
This makes the system responsive even under load.
2025-04-11 11:58:40 +02:00
af81a943ca ram/module.nix: enable zramswap 2025-04-11 11:58:19 +02:00
57f0154346 boot/module.nix: enable tmpFs 2025-04-11 11:56:15 +02:00
3 changed files with 12 additions and 1 deletions

View file

@ -25,6 +25,7 @@ in {
} }
]; ];
boot = { boot = {
tmp.useTmpfs = true;
initrd = { initrd = {
verbose = true; verbose = true;
systemd.enable = true; systemd.enable = true;

View file

@ -1 +1,5 @@
_: {imports = [./bluetooth.nix ./keyboard ./graphics.nix];} _: {
imports = [./bluetooth.nix ./keyboard ./graphics.nix];
services.irqbalance.enable = true;
}

View file

@ -0,0 +1,6 @@
_: {
zramSwap = {
enable = true;
algorithm = "zstd";
};
}