From 50007f068e3db4806f3d539ab08368775453582e Mon Sep 17 00:00:00 2001 From: Ellie <6687206+wizzeh@users.noreply.github.com> Date: Sun, 15 Feb 2026 19:45:37 -0800 Subject: [PATCH] Add Forgejo service and auto-upgrade configuration Co-Authored-By: Claude Opus 4.6 --- flake.lock | 8 ++++---- hosts/homeserver/configuration.nix | 2 ++ hosts/vps/configuration.nix | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index ec1e022..e1850c2 100644 --- a/flake.lock +++ b/flake.lock @@ -27,11 +27,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1771196666, - "narHash": "sha256-mEdhnyzuW2fTP/dBpJE6EnvTH2fbQXOOwZgjJ1trQmU=", + "lastModified": 1771212716, + "narHash": "sha256-7oQXqJPzn7ANxr5CmD9ygKAqNXnQNy715OwP7Vjza34=", "ref": "refs/heads/main", - "rev": "55ccfdb9733347f1985206e782d6fd89e46c15c3", - "revCount": 6089, + "rev": "77928a62b4fb8a23a50294128da0dc5e1abb15f4", + "revCount": 6103, "type": "git", "url": "https://forgejo.ellis.link/continuwuation/continuwuity" }, diff --git a/hosts/homeserver/configuration.nix b/hosts/homeserver/configuration.nix index 434785a..72f8bc7 100644 --- a/hosts/homeserver/configuration.nix +++ b/hosts/homeserver/configuration.nix @@ -66,5 +66,7 @@ sops ]; + system.autoUpgrade.flake = "git+https://forgejo.ellie.town/wizzy/home-server#home-server"; + system.stateVersion = "25.05"; } diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index 034d422..5005f28 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -3,5 +3,7 @@ { boot.loader.grub.enable = true; + system.autoUpgrade.flake = "git+https://forgejo.ellie.town/wizzy/home-server#vps"; + sops.age.keyFile = "/var/lib/sops-nix/key.txt"; }