aboutsummaryrefslogtreecommitdiff
path: root/nixos/tw/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tw/configuration.nix')
-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;