forked from Fediversity/Fediversity
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:
parent
ec404ca959
commit
7492a16798
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue