From b3a40a91c3baf5968b756c767ad04c7b200b5a0f Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 21 Nov 2021 13:11:47 -0500 Subject: [PATCH] zramSwap.enable: lower priority --- modules/baseline.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index 0196340..eaec63f 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { time.timeZone = "US/Eastern"; @@ -19,7 +19,7 @@ systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ]; - zramSwap.enable = true; + zramSwap.enable = lib.mkDefault true; networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);