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

@ -1,4 +1,11 @@
{ lib, pkgs, homelab, ... }: {
security.sudo.extraRules = [{
users = [ "gitea-runner" ];
commands = [{
command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}];
}];
services = {
forgejo = {
enable = true;