From dca35cc9f01b47974783a2ad2f40382ceb364a09 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Fri, 2 Jan 2026 19:19:51 +0100 Subject: Fix XDG-Desktop-Portals for real this time! Includes fixing of some warnings and the addition of rtkit. --- modules/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'modules/default.nix') diff --git a/modules/default.nix b/modules/default.nix index c2cb665..774b40d 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -53,10 +53,16 @@ }; }; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; + # Because NH is enabled, this needs to be disabled. + # nix.gc = { + # automatic = true; + # dates = "weekly"; + # options = "--delete-older-than 30d"; + # }; + zramSwap = { + enable = true; + algorithm = "lz4"; + memoryPercent = 50; }; systemd.services.nix-daemon.serviceConfig = { MemoryAccounting = true; @@ -82,7 +88,7 @@ bashInteractive coreutils - utillinux + util-linux iproute2 iputils pciutils -- cgit v1.3.1