This commit is contained in:
parent
9d2c1aa4df
commit
ec9143f3ad
7 changed files with 126 additions and 107 deletions
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
cluster-testing.modules = [
|
cluster-testing.modules = [
|
||||||
({
|
({
|
||||||
/* services.k3s = { # just hogging resources at this moment
|
/*
|
||||||
|
services.k3s = { # just hogging resources at this moment
|
||||||
enable = true;
|
enable = true;
|
||||||
role = "server";
|
role = "server";
|
||||||
# token = ""; # Agent nodes are joined to the master node using a node-token which can be found on the master node at /var/lib/rancher/k3s/server/node-token.
|
# token = ""; # Agent nodes are joined to the master node using a node-token which can be found on the master node at /var/lib/rancher/k3s/server/node-token.
|
||||||
|
|
|
@ -220,7 +220,10 @@ in
|
||||||
];
|
];
|
||||||
fructose.modules = [ garbage-collection-module ];
|
fructose.modules = [ garbage-collection-module ];
|
||||||
menthol.modules = [ distributed-build-module ];
|
menthol.modules = [ distributed-build-module ];
|
||||||
aspartame.modules = [ distributed-build-module garbage-collection-module ];
|
aspartame.modules = [
|
||||||
|
distributed-build-module
|
||||||
|
garbage-collection-module
|
||||||
|
];
|
||||||
capsaicin.modules = [ garbage-collection-module ];
|
capsaicin.modules = [ garbage-collection-module ];
|
||||||
|
|
||||||
universal.home_modules = [
|
universal.home_modules = [
|
||||||
|
|
|
@ -1,12 +1,21 @@
|
||||||
{
|
{
|
||||||
sucrose.modules = [
|
sucrose.modules = [
|
||||||
({pkgs, config, lib, ...}: {
|
(
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-runner;
|
package = pkgs.forgejo-runner;
|
||||||
instances = {
|
instances = {
|
||||||
${config.networking.hostName} = {
|
${config.networking.hostName} = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostPackages = with pkgs; lib.mkDefault [
|
hostPackages =
|
||||||
|
with pkgs;
|
||||||
|
lib.mkDefault [
|
||||||
bash
|
bash
|
||||||
coreutils
|
coreutils
|
||||||
curl
|
curl
|
||||||
|
@ -25,6 +34,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -34,12 +34,15 @@
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
sucrose.modules = [
|
sucrose.modules = [
|
||||||
({config, ...}: {
|
(
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
sops.secrets."forgejo_runner_${config.networking.hostName}_token" = { };
|
sops.secrets."forgejo_runner_${config.networking.hostName}_token" = { };
|
||||||
sops.templates."forgejo_runner.env.secrets.yaml".content = ''
|
sops.templates."forgejo_runner.env.secrets.yaml".content = ''
|
||||||
TOKEN=${config.sops.placeholder."forgejo_runner_${config.networking.hostName}_token"}
|
TOKEN=${config.sops.placeholder."forgejo_runner_${config.networking.hostName}_token"}
|
||||||
'';
|
'';
|
||||||
})
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
glucose.modules = [
|
glucose.modules = [
|
||||||
({
|
({
|
||||||
|
|
|
@ -126,7 +126,8 @@
|
||||||
"0:audio" = [ { title = "pwvucontrol$|noisetorch$"; } ];
|
"0:audio" = [ { title = "pwvucontrol$|noisetorch$"; } ];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* colors = {
|
/*
|
||||||
|
colors = {
|
||||||
# should probably use a let ... in ... here
|
# should probably use a let ... in ... here
|
||||||
background = "#212121";
|
background = "#212121";
|
||||||
focused = {
|
focused = {
|
||||||
|
@ -164,7 +165,8 @@
|
||||||
indicator = "#212121";
|
indicator = "#212121";
|
||||||
childBorder = "#262626";
|
childBorder = "#262626";
|
||||||
};
|
};
|
||||||
};*/
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
bars = [
|
bars = [
|
||||||
({
|
({
|
||||||
|
|
Loading…
Reference in a new issue