From 81b5fc84d1043020edd8d34c18e75c5c49045eaf Mon Sep 17 00:00:00 2001 From: rope Date: Sat, 16 May 2026 12:42:17 +0100 Subject: [PATCH 1/2] authelia: extend session inactivity timeout to 2h Inactivity was 5m which caused logouts while working in VS Code (no new page loads). Bumped inactivity to 2h, expiration to 12h. Co-Authored-By: Claude Sonnet 4.6 --- services/authelia.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/authelia.nix b/services/authelia.nix index c3ca6ce..180686a 100644 --- a/services/authelia.nix +++ b/services/authelia.nix @@ -90,8 +90,8 @@ in domain = "nordhammer.it"; authelia_url = "https://auth.nordhammer.it"; }]; - expiration = "1h"; - inactivity = "5m"; + expiration = "12h"; + inactivity = "2h"; }; storage.local.path = "/var/lib/authelia-main/db.sqlite3"; From 359b6651dbc0be6072c43b496c2deaf06acb1c2c Mon Sep 17 00:00:00 2001 From: rope Date: Sat, 16 May 2026 12:42:27 +0100 Subject: [PATCH 2/2] hosts: disable local builds on Macbook; add garnix cache for Gaming Co-Authored-By: Claude Sonnet 4.6 --- hosts/FredOS-Macbook.nix | 2 ++ hosts/hardware/FredOS-Gaming.nix | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hosts/FredOS-Macbook.nix b/hosts/FredOS-Macbook.nix index 0265d5a..41a607c 100644 --- a/hosts/FredOS-Macbook.nix +++ b/hosts/FredOS-Macbook.nix @@ -15,6 +15,8 @@ vscodium ]; + nix.settings.max-jobs = 0; + services.tlp.enable = false; programs.nix-ld.enable = true; services.power-profiles-daemon.enable = true; diff --git a/hosts/hardware/FredOS-Gaming.nix b/hosts/hardware/FredOS-Gaming.nix index 64d5306..d93ff4b 100644 --- a/hosts/hardware/FredOS-Gaming.nix +++ b/hosts/hardware/FredOS-Gaming.nix @@ -9,8 +9,14 @@ boot.kernelPackages = lib.mkForce pkgs.cachyosKernels.linuxPackages-cachyos-bore; nix.settings = { - substituters = [ "https://attic.xuyh0120.win/lantian" ]; - trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ]; + substituters = [ + "https://attic.xuyh0120.win/lantian" + "https://cache.garnix.io" + ]; + trusted-public-keys = [ + "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + ]; }; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];