nix(t14,loki): enable zram

This commit is contained in:
surtur 2023-12-11 11:25:58 +01:00
parent b38bdf3e0a
commit 5e74b57b7b
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
3 changed files with 10 additions and 0 deletions

@ -22,6 +22,7 @@
../../modules/base.nix
../../modules/dnscrypt.nix
../../modules/uptime-kuma.nix
../../modules/zram.nix
];
sops = {

@ -13,6 +13,7 @@
../../modules/base.nix
../../modules/dnscrypt.nix
../../modules/zram.nix
];
sops = {

8
nix/modules/zram.nix Normal file

@ -0,0 +1,8 @@
{
config,
lib,
pkgs,
...
}: {
zramSwap.enable = true;
}