From 4683d6953ff7fa7effe8eebda4a14d709d32841d Mon Sep 17 00:00:00 2001 From: ediblerope Date: Fri, 1 May 2026 15:35:07 +0100 Subject: [PATCH] common: point update alias at Forgejo Migrating origin from GitHub to a private Forgejo repo at forg.gregersen.it/rope/nixos. Each host needs the PAT in /root/.git-credentials (host-local state, set up manually since the repo isn't publicly readable). Co-Authored-By: Claude Opus 4.7 --- common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 1860e73..8735c6d 100644 --- a/common.nix +++ b/common.nix @@ -82,7 +82,7 @@ # Shell aliases (work in both bash and fish) environment.shellAliases = { - update = "bash -c 'OLD_SYSTEM=$(readlink /run/current-system) && sudo nixos-rebuild build $@ --impure --flake github:ediblerope/nixos-config && sudo nixos-rebuild switch $@ --impure --flake github:ediblerope/nixos-config && nvd diff $OLD_SYSTEM /run/current-system && (command -v record-update &>/dev/null && record-update $OLD_SYSTEM /run/current-system || true) && command -v matugen &>/dev/null && matugen image ~/.local/share/backgrounds/wallpaper.png -m dark || true' --"; + update = "bash -c 'OLD_SYSTEM=$(readlink /run/current-system) && sudo nixos-rebuild build $@ --impure --flake git+https://forg.gregersen.it/rope/nixos && sudo nixos-rebuild switch $@ --impure --flake git+https://forg.gregersen.it/rope/nixos && nvd diff $OLD_SYSTEM /run/current-system && (command -v record-update &>/dev/null && record-update $OLD_SYSTEM /run/current-system || true) && command -v matugen &>/dev/null && matugen image ~/.local/share/backgrounds/wallpaper.png -m dark || true' --"; clean = "sudo nix-collect-garbage -d"; ll = "ls -alh"; clear = "command clear";