Compare commits

...

2 commits

Author SHA1 Message Date
Cyryl Płotnicki c6cb14a14b add cache
Some checks failed
use nix / build (push) Failing after 1m17s
2024-04-27 10:24:13 +01:00
Cyryl Płotnicki 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:
- uses: actions/checkout@v3
name: Checkout
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name: Metadata
run: |
nix flake metadata
@ -17,4 +18,4 @@ jobs:
nix develop -c statix check
- name: Flake check
run: |
nix flake check
nix flake check

View file

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