From 9508c7391abbdcdb882c63019dde26add02b0eb1 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 14 Mar 2023 11:33:47 -0400 Subject: [PATCH] Change update source --- machines/fusion/configuration.nix | 3 +++ modules/linux/linux/base.nix | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/machines/fusion/configuration.nix b/machines/fusion/configuration.nix index bc75ce9..38c26e4 100644 --- a/machines/fusion/configuration.nix +++ b/machines/fusion/configuration.nix @@ -75,4 +75,7 @@ locations."/" = { proxyPass = "http://localhost:3000"; }; }; + # Update later than everyone else, since this one hosts our updates + system.autoUpgrade.dates = "6:00"; + } diff --git a/modules/linux/linux/base.nix b/modules/linux/linux/base.nix index f6cb8e5..a9b4735 100644 --- a/modules/linux/linux/base.nix +++ b/modules/linux/linux/base.nix @@ -39,9 +39,9 @@ with lib; { enable = true; allowReboot = true; # Update from the flake - flake = "git+https://git.sr.ht/~thatonelutenist/system-flake?ref=trunk"; + flake = "git+https://git.stranger.systems/nix/System"; # Attempt to update daily at 2AM - dates = "2:00"; + dates = lib.mkDefault "2:00"; }; }) # Systemd user service cludge