Compare commits

...

3 commits

Author SHA1 Message Date
a631a98ce2 Attempt to build gospel config
Some checks failed
Forgejo Actions Demo / Explore-Forgejo-Actions (push) Failing after 4s
2026-02-14 12:21:16 -08:00
0fbb4c7725 Add host nix-builder label 2026-02-14 12:19:23 -08:00
4525780a79 Remove deprecared option 2026-02-14 10:48:34 -08:00
3 changed files with 13 additions and 2 deletions

View file

@ -4,7 +4,7 @@ on: [push]
jobs:
Explore-Forgejo-Actions:
runs-on: ubuntu-latest
runs-on: nix-builder
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ forgejo.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Forgejo!"
@ -16,4 +16,5 @@ jobs:
- name: List files in the repository
run: |
ls ${{ forgejo.workspace }}
- run: nix build .#nixosConfigurations.gospel.config.system.build.toplevel
- run: echo "🍏 This job's status is ${{ job.status }}."

View file

@ -12,6 +12,5 @@
nix.gc = {
automatic = true;
options = "-d";
frequency = "03:15";
};
}

View file

@ -88,6 +88,8 @@
url = "https://git.alejandr0angul0.dev";
tokenFile = config.age.secrets.gitea-runner-gospel.path;
labels = [
"nix-builder:host"
"ubuntu-latest:docker://node:16-bullseye"
"ubuntu-22.04:docker://node:16-bullseye"
"ubuntu-20.04:docker://node:16-bullseye"
@ -96,6 +98,15 @@
};
};
};
# Allow the Forgejo Actions runner user to talk to nix-daemon when
# running jobs directly on the host.
nix.settings.trusted-users = [
config.systemd.services."gitea-runner-gospel".serviceConfig.User
];
nix.settings.allowed-users = [
config.systemd.services."gitea-runner-gospel".serviceConfig.User
];
virtualisation = {
libvirtd.enable = true;