diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-06 02:05:34 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-06 02:05:34 -0800 |
| commit | bb8a3f99278f20a0ba3c9652c8b3f3bad0283878 (patch) | |
| tree | 88757e19fab9ebdc7633387d435f78c0588f7619 | |
| parent | 27eadc876be3b877591748c67cd98b20bee4022b (diff) | |
merge
| 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!" |
