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"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: nixfmt ${find . ./ -regex '*.nix$'} -- --check
|
||||
- run: nixfmt ${find ./ -regex '*.nix$'} -- --check
|
|
@ -8,13 +8,9 @@ jobs:
|
|||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: clone repo
|
||||
run: |
|
||||
git clone https://git.collective-conciousness.monster/Ittihadyya/adyya-flake.git
|
||||
cd adyya-flake/
|
||||
- uses: code.forgejo.org/actions/checkout@v4
|
||||
- name: update flake
|
||||
run: |
|
||||
nix flake update
|
||||
- name:
|
||||
nix flake update --experimental-features 'nix-command flakes'
|
||||
|
||||
|
|
@ -1,12 +1,22 @@
|
|||
{
|
||||
sucrose.modules = [
|
||||
({pkgs, config, ...}: {
|
||||
({pkgs, config, lib, ...}: {
|
||||
services.gitea-actions-runner= {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances = {
|
||||
${config.networking.hostName} = {
|
||||
enable = true;
|
||||
hostPackages = [ ];
|
||||
hostPackages = with pkgs; lib.mkDefault [
|
||||
bash
|
||||
coreutils
|
||||
curl
|
||||
gawk
|
||||
gitMinimal
|
||||
gnused
|
||||
wget
|
||||
nix
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
labels = [ ];
|
||||
name = config.networking.hostName;
|
||||
settings = { };
|
||||
|
|
Loading…
Reference in a new issue