From 419b0f706baced9128df4f567e4c025a9d60957e Mon Sep 17 00:00:00 2001 From: beatzaplenty Date: Thu, 30 Jul 2026 17:39:22 +1000 Subject: [PATCH] updated flake URL --- modules/common/configuration.nix | 4 ++-- variables.nix | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/common/configuration.nix b/modules/common/configuration.nix index 4ca2484..639ec21 100644 --- a/modules/common/configuration.nix +++ b/modules/common/configuration.nix @@ -5,13 +5,13 @@ let sudo nixos-rebuild switch \ --no-write-lock-file \ --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 = '' sudo nixos-rebuild test \ --no-write-lock-file \ --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 = '' buildImage() { diff --git a/variables.nix b/variables.nix index 3042ddc..d2fbbd0 100644 --- a/variables.nix +++ b/variables.nix @@ -7,7 +7,10 @@ rec { # Org/repo path within Gitea, combined with giteaDomain to form the # git+https:// URL used by Switch-nix / Test-nix. - giteaRepoPath = "beatzaplenty/nixos"; + giteaRepoPath = "beatzaplenty/infrastructure"; + + # internal repo path to flake + giteaRepoFlakePath = "nixos"; # ── Network ───────────────────────────────────────────────────────────────