From a032fc0f14587ccb5bfa1905758377cbfb59adfc Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Tue, 14 Oct 2025 17:45:56 +0200 Subject: [PATCH] [shared] Add experimental flag to commands --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 170967a..0a68255 100644 --- a/justfile +++ b/justfile @@ -69,11 +69,11 @@ generate-ssh: # Generate a new age key from an existing ssh key (without passphrase) generate-age-from-ssh: mkdir -p ~/.config/sops/age - nix run nixpkgs#ssh-to-age -- -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt + nix run nixpkgs#ssh-to-age --experimental-features 'nix-command flakes' -- -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt # Get a public age key from an existing age private key get-public-age-key: - nix shell nixpkgs#age -c age-keygen -y ~/.config/sops/age/keys.txt + nix shell nixpkgs#age --experimental-features 'nix-command flakes' -c age-keygen -y ~/.config/sops/age/keys.txt # Get the public ssh key from the current user get-public-ssh-key: @@ -81,7 +81,7 @@ get-public-ssh-key: # Edit the SOPS secrets file edit-secrets: - nix run nixpkgs#sops -- shared/secrets/secrets.yaml + nix run nixpkgs#sops --experimental-features 'nix-command flakes' -- shared/secrets/secrets.yaml # Hash a string using the mkpasswd command hash PASS: