gerd: changed zramswap comment

This commit is contained in:
eyjhb 2024-12-03 22:06:25 +01:00
parent 57a5740f6f
commit 68779da243
No known key found for this signature in database
GPG key ID: 609F508E3239F920

View file

@ -25,13 +25,6 @@
./gerd/services/matrix-synapse.nix ./gerd/services/matrix-synapse.nix
]; ];
# TODO: place this a better place
zramSwap = {
enable = true;
memoryPercent = 75;
algorithm = "lz4";
};
networking.hostName = "gerd"; networking.hostName = "gerd";
networking.hostId = "e1166ac9"; networking.hostId = "e1166ac9";
@ -64,6 +57,14 @@
}; };
}; };
# setup zramswap (we are very ram limited)
zramSwap = {
enable = true;
memoryPercent = 75;
algorithm = "lz4";
};
# TMP FIX FOR https://github.com/nix-community/impermanence/issues/229 # TMP FIX FOR https://github.com/nix-community/impermanence/issues/229
boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ]; boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ];
systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ]; systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ];