workflow verbosity and sudo fix
Some checks failed
Activate NixOS Homelab Configuration On Push / build-and-activate (push) Failing after 29s

This commit is contained in:
Satria 2026-03-14 10:33:04 +07:00
commit 6024695830
2 changed files with 11 additions and 5 deletions

View file

@ -15,10 +15,10 @@ jobs:
shell: /bin/sh -e {0}
steps:
- name: Clone
run: git clone http://localhost:5080/satr14/nix-flake.git src
run: git clone -v http://localhost:5080/satr14/nix-flake.git src
- name: Build
run: nixos-rebuild build --flake ./src#homelab
run: nixos-rebuild build --flake ./src#homelab -L --show-trace -v
- name: Activate
run: sudo nixos-rebuild switch --flake ./src#homelab
run: sudo nixos-rebuild switch --flake ./src#homelab -L --show-trace -v
- name: Clean
run: rm -rf src
run: rm -rfv src