justfile: add --impure to nix commands

this seems required since a recent nixpkgs update
This commit is contained in:
steveej 2024-05-02 09:43:20 +02:00
parent 532535a904
commit 5f1eded00a
2 changed files with 28 additions and 2 deletions

View file

@ -31,11 +31,11 @@ _render_templates:
rebuild-remote-device device +rebuildargs="dry-activate":
#!/usr/bin/env bash
set -ex
nix run .#colmena -- apply --on {{device}} {{rebuildargs}}
nix run .#colmena -- apply --impure --on {{device}} {{rebuildargs}}
# Rebuild this device's NixOS
rebuild-this-device +rebuildargs="dry-activate":
nix run .#colmena -- apply-local --sudo {{rebuildargs}}
nix run .#colmena -- apply-local --impure --sudo {{rebuildargs}}
# Re-render the versions of a remote device and rebuild its environment
update-remote-device devicename +rebuildargs='build':