explicitly allow running command to manually generating tokens from forgejo machine

additionally serves to document the needed command, for future
automation.
This commit is contained in:
Kiara Grouwstra 2025-07-06 21:26:51 +02:00
parent d6b8140cb8
commit 793154d778
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -110,4 +110,8 @@ in
};
};
};
# needed to imperatively run forgejo commands e.g. to generate runner tokens.
# example: `sudo su - forgejo -c 'nix-shell -p forgejo --run "gitea actions generate-runner-token -C /var/lib/forgejo/custom"'`
users.users.forgejo.isNormalUser = true;
}