updated flake URL

This commit is contained in:
2026-07-30 17:39:22 +10:00
parent 89e1c5dc9a
commit 419b0f706b
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -5,13 +5,13 @@ let
sudo nixos-rebuild switch \ sudo nixos-rebuild switch \
--no-write-lock-file \ --no-write-lock-file \
--refresh \ --refresh \
--flake git+https://${vars.giteaDomain}/${vars.giteaRepoPath}.git#$(cat /etc/flake-target) --flake git+https://${vars.giteaDomain}/${vars.giteaRepoPath}.git?dir=${vars.giteaRepoFlakePath}#$(cat /etc/flake-target)
''; '';
testCmd = '' testCmd = ''
sudo nixos-rebuild test \ sudo nixos-rebuild test \
--no-write-lock-file \ --no-write-lock-file \
--refresh \ --refresh \
--flake git+https://${vars.giteaDomain}/${vars.giteaRepoPath}.git#$(cat /etc/flake-target) --flake git+https://${vars.giteaDomain}/${vars.giteaRepoPath}.git?dir=${vars.giteaRepoFlakePath}#$(cat /etc/flake-target)
''; '';
buildImageFn = '' buildImageFn = ''
buildImage() { buildImage() {
+4 -1
View File
@@ -7,7 +7,10 @@ rec {
# Org/repo path within Gitea, combined with giteaDomain to form the # Org/repo path within Gitea, combined with giteaDomain to form the
# git+https:// URL used by Switch-nix / Test-nix. # git+https:// URL used by Switch-nix / Test-nix.
giteaRepoPath = "beatzaplenty/nixos"; giteaRepoPath = "beatzaplenty/infrastructure";
# internal repo path to flake
giteaRepoFlakePath = "nixos";
# ── Network ─────────────────────────────────────────────────────────────── # ── Network ───────────────────────────────────────────────────────────────