From aea7e04bda37da24c660ff5ab220182dfbb8244f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 19 Jul 2022 17:08:18 +0200 Subject: nixos: fix invalid init --- nixos/modules/turris-defaults.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/turris-defaults.nix') diff --git a/nixos/modules/turris-defaults.nix b/nixos/modules/turris-defaults.nix index ff2e141..9d7a19c 100644 --- a/nixos/modules/turris-defaults.nix +++ b/nixos/modules/turris-defaults.nix @@ -48,12 +48,12 @@ in { boot.initrd.supportedFilesystems = [ "btrfs" ]; # Cover nix memory consumption peaks by compressing the RAM - zramSwap = { + zramSwap = mkDefault { enable = true; memoryPercent = 80; }; - fileSystems = { + fileSystems = mkDefault { "/" = { device = "/dev/disk/by-partlabel/" + cnf.rootLabel; fsType = "btrfs"; -- cgit v1.2.3