updates and forgejo actions
This commit is contained in:
parent
b7118c5a9a
commit
17401c9549
|
@ -136,11 +136,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1720954236,
|
||||
"narHash": "sha256-1mEKHp4m9brvfQ0rjCca8P1WHpymK3TOr3v34ydv9bs=",
|
||||
"lastModified": 1732749044,
|
||||
"narHash": "sha256-T38FQOg0BV5M8FN1712fovzNakSOENEYs+CSkg31C9Y=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "53e81e790209e41f0c1efa9ff26ff2fd7ab35e27",
|
||||
"rev": "0c5b4ecbed5b155b705336aa96d878e55acd8685",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -25,4 +25,20 @@ with lib;
|
|||
'';
|
||||
};
|
||||
};
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-actions-runner;
|
||||
instances.default = {
|
||||
enable = true;
|
||||
name = "monolith";
|
||||
url = "https://git.tfcconnection.org";
|
||||
# Obtaining the path to the runner token file may differ
|
||||
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
|
||||
token = "RP4DUN8EPbonAvl0TzQyco4iA5eXY5QYNc4btuzZ";
|
||||
labels = [
|
||||
"ubuntu-latest:docker://node:16-bullseye"
|
||||
## optionally provide native execution on the host:
|
||||
"native:host"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
cudatoolkit
|
||||
];
|
||||
|
||||
# virtualisation.docker.enableNvidia = true;
|
||||
virtualisation.docker.enableNvidia = true;
|
||||
|
||||
services.samba = {
|
||||
enable = true;
|
||||
|
@ -151,6 +151,15 @@
|
|||
Referrer-Policy no-referrer-when-downgrade
|
||||
}
|
||||
redir /.well-known/oidc-configuration /apps/oidc/openid-configuration 301
|
||||
handle_path /whiteboard/* {
|
||||
reverse_proxy http://127.0.0.1:3002
|
||||
}
|
||||
'';
|
||||
};
|
||||
virtualHosts = {
|
||||
"whiteboard.tfcconnection.org".extraConfig = ''
|
||||
encode gzip
|
||||
reverse_proxy localhost:3002
|
||||
'';
|
||||
};
|
||||
virtualHosts = {
|
||||
|
|
Loading…
Reference in a new issue