summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/personal/system.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/nixos/personal/system.nix b/modules/nixos/personal/system.nix
index 959f419..49ba6c8 100644
--- a/modules/nixos/personal/system.nix
+++ b/modules/nixos/personal/system.nix
@@ -124,6 +124,15 @@ in
};
})
+ (lib.mkIf (cfgRemote.enable && cfgLuks ? crypt) {
+ # if a remote builder is needed, the machine is slow
+ # encrypting journal logs can take up a lot of resources,
+ # hence they are kept small
+ services.journald.extraConfig = ''
+ SystemMaxUse=100M
+ '';
+ })
+
(lib.mkIf cfg.autoUpgrade.enable {
personal.boot.unattendedReboot = lib.mkIf reboot true;
system.autoUpgrade = {