diff options
| l--------- | .pre-commit-config.yaml | 2 | ||||
| -rw-r--r-- | flake.nix | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 232e855..ced6b79 120000 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1 +1 @@ -/nix/store/jk66aml77b18ycqghmbhgsl68n3dsry8-pre-commit-config.json
\ No newline at end of file +/nix/store/0c2jj36d8x29xq9010x4j4qyl6bx4m7c-pre-commit-config.json
\ No newline at end of file @@ -92,7 +92,6 @@ fi pass_filenames = false; always_run = true; entry = "${pkgs.writeShellScript "deploy-spontaneity-hook" '' -exec < /dev/tty BRANCH=$(git branch --show-current) if [ "$BRANCH" != "main" ]; then @@ -100,9 +99,6 @@ if [ "$BRANCH" != "main" ]; then fi echo "Pushing to main detected. Deploying to ${spontaneityHost}..." export NIX_SSHOPTS="-t" -nixos-rebuild switch --flake .#spontaneity \ - --target-host ${spontaneityUser}@${spontaneityHost} - --ask-sudo-password --sudo if [ $? -eq 0 ]; then echo "Deployment successful!" |
