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" ]; 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";