diff options
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/.bash_aliases | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases index 0099a19..67b8934 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -14,6 +14,7 @@ alias gl='git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short' # Nixos alias ras='sudo nixos-rebuild switch --flake .#' +alias rash='nixos-rebuild switch --flake .#calcifer --target-host root@2.29.11.43' # Tmux tm() { @@ -54,10 +55,9 @@ se() { fi if [ ! -f "$SECRET_PATH" ]; then - echo "Error: Secret file not found at $SECRET_PATH" - echo "Creating new secret file for $SYSTEM..." + echo "Creating new secret file for $SYSTEM at $SECRET_PATH..." mkdir -p "$(dirname "$SECRET_PATH")" fi - sops "$SECRET_PATH" + sops --config "$REPO_ROOT/.sops.yaml" "$SECRET_PATH" } |
