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

@ -6,4 +6,4 @@ jobs:
name: "nix fmt"
steps:
- uses: actions/checkout@v4
- run: nixfmt $(find ./ -regex '.*.nix$') -- --check
- run: nix fmt $(find ./ -regex '.*.nix$') -- --check

View file

@ -1,7 +1,8 @@
{
cluster-testing.modules = [
({
/* services.k3s = { # just hogging resources at this moment
/*
services.k3s = { # just hogging resources at this moment
enable = true;
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.

View file

@ -220,7 +220,10 @@ in
];
fructose.modules = [ garbage-collection-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 ];
universal.home_modules = [

View file

@ -1,12 +1,21 @@
{
sucrose.modules = [
({pkgs, config, lib, ...}: {
services.gitea-actions-runner= {
(
{
pkgs,
config,
lib,
...
}:
{
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances = {
${config.networking.hostName} = {
enable = true;
hostPackages = with pkgs; lib.mkDefault [
hostPackages =
with pkgs;
lib.mkDefault [
bash
coreutils
curl
@ -25,6 +34,7 @@
};
};
};
})
}
)
];
}

View file

@ -34,12 +34,15 @@
)
];
sucrose.modules = [
({config, ...}: {
(
{ config, ... }:
{
sops.secrets."forgejo_runner_${config.networking.hostName}_token" = { };
sops.templates."forgejo_runner.env.secrets.yaml".content = ''
TOKEN=${config.sops.placeholder."forgejo_runner_${config.networking.hostName}_token"}
'';
})
}
)
];
glucose.modules = [
({

View file

@ -126,7 +126,8 @@
"0:audio" = [ { title = "pwvucontrol$|noisetorch$"; } ];
};
/* colors = {
/*
colors = {
# should probably use a let ... in ... here
background = "#212121";
focused = {
@ -164,7 +165,8 @@
indicator = "#212121";
childBorder = "#262626";
};
};*/
};
*/
bars = [
({