Compare commits

...

2 commits

Author SHA1 Message Date
c6cb14a14b add cache
Some checks failed
use nix / build (push) Failing after 1m17s
2024-04-27 10:24:13 +01:00
4991a972ae enable runner cache 2024-04-27 10:21:40 +01:00
2 changed files with 11 additions and 2 deletions

View file

@ -9,6 +9,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
name: Checkout name: Checkout
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name: Metadata - name: Metadata
run: | run: |
nix flake metadata nix flake metadata
@ -17,4 +18,4 @@ jobs:
nix develop -c statix check nix develop -c statix check
- name: Flake check - name: Flake check
run: | run: |
nix flake check nix flake check

View file

@ -21,7 +21,10 @@ in {
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
autoPrune.enable = true; autoPrune.enable = true;
daemon.settings = {}; daemon.settings = {
fixed-cidr-v6 = "fd00::/80";
ipv6 = true;
};
}; };
services.gitea-actions-runner = { services.gitea-actions-runner = {
@ -33,6 +36,11 @@ in {
name = "cupsnet local"; name = "cupsnet local";
settings = { settings = {
runner.capacity = 2; runner.capacity = 2;
container.network = "host";
cache = {
enabled = true;
port = 40135;
};
}; };
hostPackages = with pkgs; [ hostPackages = with pkgs; [
bash bash