diff --git a/hosts/nix-cache01/default.nix b/hosts/nix-cache01/default.nix index d57d450..c9c6e59 100644 --- a/hosts/nix-cache01/default.nix +++ b/hosts/nix-cache01/default.nix @@ -3,5 +3,6 @@ imports = [ ./configuration.nix ../../services/nix-cache + ./zram.nix ]; } diff --git a/hosts/nix-cache01/zram.nix b/hosts/nix-cache01/zram.nix new file mode 100644 index 0000000..1b0509c --- /dev/null +++ b/hosts/nix-cache01/zram.nix @@ -0,0 +1,6 @@ +{ ... }: +{ + zramSwap = { + enable = true; + }; +}