why the ffuck is this not working?
Some checks failed
/ nix fmt (push) Has been cancelled

This commit is contained in:
Ittihadyya 2024-11-26 13:52:46 +02:00
parent 9d2c1aa4df
commit ec9143f3ad
7 changed files with 126 additions and 107 deletions

View file

@ -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.

View file

@ -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 = [

View file

@ -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 @@
}; };
}; };
}; };
}) }
)
]; ];
} }

View file

@ -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 = [
({ ({

View file

@ -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 = [
({ ({