diff --git a/modules/misc/zram.nix b/modules/misc/zram.nix new file mode 100644 index 0000000..9e040a2 --- /dev/null +++ b/modules/misc/zram.nix @@ -0,0 +1,5 @@ +{ pkgs, lib, config, ...}: { + zramSwap = { + enable = true; + }; +} diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index 21a8f21..210451b 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -16,6 +16,7 @@ ../../modules/fh/writing.nix ../../modules/work/vpn.nix ../../modules/misc/faster-boot-time.nix + ../../modules/misc/zram.nix #../../modules/hardware/ryzenmonitor.nix ../../modules/networkmanager.nix ];