update workflow and sudo perms
Some checks are pending
Activate NixOS Homelab Configuration On Push / deploy (push) Waiting to run

This commit is contained in:
Satria 2026-03-14 20:59:04 +07:00
commit 22ac4b4b5e
2 changed files with 10 additions and 2 deletions

View file

@ -10,7 +10,7 @@ env:
jobs:
deploy:
runs-on: nixos-server
runs-on: nixos-server:host
defaults:
run:
shell: /bin/sh -e {0}
@ -38,4 +38,5 @@ jobs:
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
- name: Deploy System over SSH
run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace
run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace