diff --git a/modules/system/boot/module.nix b/modules/system/boot/module.nix index 882b70d..275fa5d 100644 --- a/modules/system/boot/module.nix +++ b/modules/system/boot/module.nix @@ -25,6 +25,7 @@ in { } ]; boot = { + tmp.useTmpfs = true; initrd = { verbose = true; systemd.enable = true; diff --git a/modules/system/hardware/module.nix b/modules/system/hardware/module.nix index da4c82d..6efca34 100644 --- a/modules/system/hardware/module.nix +++ b/modules/system/hardware/module.nix @@ -1 +1,5 @@ -_: {imports = [./bluetooth.nix ./keyboard ./graphics.nix];} +_: { + imports = [./bluetooth.nix ./keyboard ./graphics.nix]; + + services.irqbalance.enable = true; +} diff --git a/modules/system/hardware/ram/module.nix b/modules/system/hardware/ram/module.nix new file mode 100644 index 0000000..a2ff6df --- /dev/null +++ b/modules/system/hardware/ram/module.nix @@ -0,0 +1,6 @@ +_: { + zramSwap = { + enable = true; + algorithm = "zstd"; + }; +}