This commit is contained in:
parent
d495628e5b
commit
aca5a49988
3 changed files with 15 additions and 9 deletions
|
@ -6,4 +6,4 @@ jobs:
|
||||||
name: "nix fmt"
|
name: "nix fmt"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: nixfmt ${find . ./ -regex '*.nix$'} -- --check
|
- run: nixfmt ${find ./ -regex '*.nix$'} -- --check
|
|
@ -8,13 +8,9 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: clone repo
|
- uses: code.forgejo.org/actions/checkout@v4
|
||||||
run: |
|
|
||||||
git clone https://git.collective-conciousness.monster/Ittihadyya/adyya-flake.git
|
|
||||||
cd adyya-flake/
|
|
||||||
- name: update flake
|
- name: update flake
|
||||||
run: |
|
run: |
|
||||||
nix flake update
|
nix flake update --experimental-features 'nix-command flakes'
|
||||||
- name:
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,22 @@
|
||||||
{
|
{
|
||||||
sucrose.modules = [
|
sucrose.modules = [
|
||||||
({pkgs, config, ...}: {
|
({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 = [ ];
|
hostPackages = with pkgs; lib.mkDefault [
|
||||||
|
bash
|
||||||
|
coreutils
|
||||||
|
curl
|
||||||
|
gawk
|
||||||
|
gitMinimal
|
||||||
|
gnused
|
||||||
|
wget
|
||||||
|
nix
|
||||||
|
nixfmt-rfc-style
|
||||||
|
];
|
||||||
labels = [ ];
|
labels = [ ];
|
||||||
name = config.networking.hostName;
|
name = config.networking.hostName;
|
||||||
settings = { };
|
settings = { };
|
||||||
|
|
Loading…
Reference in a new issue