Compare commits
2 commits
02b5b07993
...
c6cb14a14b
Author | SHA1 | Date | |
---|---|---|---|
c6cb14a14b | |||
4991a972ae |
2 changed files with 11 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue