Compare commits
4 commits
f54d5fd867
...
4fdca3ba1a
Author | SHA1 | Date | |
---|---|---|---|
Rouven Seifert | 4fdca3ba1a | ||
Rouven Seifert | a5c1b6d494 | ||
Rouven Seifert | df66ad3870 | ||
Rouven Seifert | a94ec1eab8 |
19
modules/forgejo/actions.nix
Normal file
19
modules/forgejo/actions.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.gitea-actions-runner = {
|
||||||
|
package = pkgs.forgejo-actions-runner;
|
||||||
|
instances."quitte" = {
|
||||||
|
enable = true;
|
||||||
|
labels = [
|
||||||
|
# provide a debian base with nodejs for actions
|
||||||
|
"debian-latest:docker://node:18-bullseye"
|
||||||
|
# fake the ubuntu name, because node provides no ubuntu builds
|
||||||
|
"ubuntu-latest:docker://node:18-bullseye"
|
||||||
|
# provide native execution on the host
|
||||||
|
# "native:host"
|
||||||
|
];
|
||||||
|
#TODO get a token from git.ifsr.de and use it
|
||||||
|
# tokenfile = /"dev/null";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,9 +4,9 @@ let
|
||||||
gitUser = "git";
|
gitUser = "git";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# imports = [
|
imports = [
|
||||||
# ./actions.nix
|
./actions.nix
|
||||||
# ];
|
];
|
||||||
sops.secrets.gitea_ldap_search = {
|
sops.secrets.gitea_ldap_search = {
|
||||||
key = "portunus/search-password";
|
key = "portunus/search-password";
|
||||||
owner = config.services.forgejo.user;
|
owner = config.services.forgejo.user;
|
||||||
|
|
Loading…
Reference in a new issue