From bb8a3f99278f20a0ba3c9652c8b3f3bad0283878 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 6 Mar 2026 02:05:34 -0800 Subject: merge --- .pre-commit-config.yaml | 2 +- flake.nix | 4 ---- 2 files changed, 1 insertion(+), 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 diff --git a/flake.nix b/flake.nix index f97c2f7..e9b26af 100644 --- a/flake.nix +++ b/flake.nix @@ -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!" -- cgit v1.3