diff options
| author | Seth Flynn <[email protected]> | 2025-03-09 09:10:36 -0400 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-03-09 09:10:36 -0400 |
| commit | efc6899c36f500b6dc816fab6c3df531422fee08 (patch) | |
| tree | 92fe18fb111ebb916f6219cafa81e802d96983db | |
| parent | 93ce3dfc4cd53979e3bf4dde2dd8d6d79117a709 (diff) | |
justfile: pass flake as git type
| -rw-r--r-- | justfile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -14,7 +14,7 @@ rebuild subcmd *args="": {{ rebuild }} \ {{ subcmd }} \ --use-remote-sudo \ - --flake {{ justfile_directory() }} \ + --flake 'git+file://{{ justfile_directory() }}' \ {{ args }} remote-rebuild system subcmd *args="": @@ -24,26 +24,30 @@ remote-rebuild system subcmd *args="": --target-host 'root@{{ system }}' \ --no-build-nix \ --use-substitutes \ - --flake '{{ justfile_directory() }}#{{ system }}' \ + --flake 'git+file://{{ justfile_directory() }}#{{ system }}' \ {{ args }} eval system *args="": nix eval \ --no-allow-import-from-derivation \ - '{{ justfile_directory() }}#nixosConfigurations.{{ system }}.config.system.build.toplevel' \ + 'git+file://{{ justfile_directory() }}#nixosConfigurations.{{ system }}.config.system.build.toplevel' \ {{ args }} eval-all *args="": - nix flake check --all-systems --no-build {{ justfile_directory() }} {{ args }} + nix flake check \ + --all-systems \ + --no-build \ + 'git+file://{{ justfile_directory() }}' \ + {{ args }} update: nix flake update \ --commit-lock-file \ --commit-lockfile-summary "flake: update all inputs" \ - --flake {{ justfile_directory() }} + --flake 'git+file://{{ justfile_directory() }}' update-input input: nix flake update {{ input }} \ --commit-lock-file \ --commit-lockfile-summary "flake: update {{ input }}" \ - --flake {{ justfile_directory() }} + --flake 'git+file://{{ justfile_directory() }}' |
