aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-10-27 23:39:24 +0300
committerspl3g <spleefer6@yandex.ru>2025-10-27 23:39:24 +0300
commit2203dec9fd370daf392adef6119fadbe00db82d8 (patch)
tree6ec9f8e275bf7a3cb026e2f57c39804771f78a8f
parente651a030805306fee68f57d2f432633afcc79e1b (diff)
fix(tw): remove zram, it conflicts with swap
-rw-r--r--nixos/tw/configuration.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/nixos/tw/configuration.nix b/nixos/tw/configuration.nix
index cc7411f..f851d12 100644
--- a/nixos/tw/configuration.nix
+++ b/nixos/tw/configuration.nix
@@ -53,14 +53,12 @@
};
};
- zramSwap = {
- enable = true;
- };
-
- swapDevices = [{
- device = "/var/lib/swapfile";
- size = 2*1024;
- }];
+ swapDevices = [
+ {
+ device = "/var/lib/swapfile";
+ size = 2 * 1024;
+ }
+ ];
networking.nat = {
enable = true;