diff --git a/.github/workflows/test-nix-flake.yml b/.github/workflows/test-nix-flake.yml index a8b1fb1b..4897f1e1 100644 --- a/.github/workflows/test-nix-flake.yml +++ b/.github/workflows/test-nix-flake.yml @@ -33,4 +33,6 @@ jobs: # Build the Nix Flake - name: Build Nix Flake - run: nix build --extra-experimental-features 'nix-command flakes' .#nixos + run: | + cd /home/runner/work/nixos-config/nixos-config/my-config + nix build --extra-experimental-features 'nix-command flakes' .#nixos diff --git a/bin/apply-ci b/bin/apply-ci index 2efeec34..82e3ef92 100755 --- a/bin/apply-ci +++ b/bin/apply-ci @@ -18,6 +18,8 @@ replace_tokens() { } # Traverse directories and replace tokens in each Nix file +export -f replace_tokens find . -type f -exec bash -c 'replace_tokens "$0"' {} \; -echo "$USERNAME" > /tmp/username.txt \ No newline at end of file +echo "$USERNAME" > /tmp/username.txt +_print "${GREEN}User $USERNAME information applied.${NC}"