gerd: changed zramswap comment
This commit is contained in:
parent
57a5740f6f
commit
68779da243
1 changed files with 8 additions and 7 deletions
|
@ -25,13 +25,6 @@
|
|||
./gerd/services/matrix-synapse.nix
|
||||
];
|
||||
|
||||
# TODO: place this a better place
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 75;
|
||||
algorithm = "lz4";
|
||||
};
|
||||
|
||||
networking.hostName = "gerd";
|
||||
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
|
||||
boot.initrd.systemd.suppressedUnits = [ "systemd-machine-id-commit.service" ];
|
||||
systemd.suppressedSystemUnits = [ "systemd-machine-id-commit.service" ];
|
||||
|
|
Loading…
Reference in a new issue