summaryrefslogtreecommitdiff
path: root/hosts/desktop/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/desktop/configuration.nix')
-rw-r--r--hosts/desktop/configuration.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index 6f9b000..316a573 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -31,10 +31,14 @@
locale.enable = true;
network.enable = true;
memory = {
- zram.enable = true;
- zram.percent = 25;
- swapfile.enable = true;
- swapfile.size = 32;
+ zram = {
+ enable = true;
+ percent = 25;
+ };
+ swapfile = {
+ enable = true;
+ size = 32;
+ };
};
security.enable = true;
storage = {