Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cea32c5f16 | ||
|
|
cbc48e456d |
@@ -7,20 +7,26 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
installer:
|
installer:
|
||||||
name: Build installer
|
name: Build installer
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-26.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: https://github.com/actions/setup-go@v4
|
uses: https://github.com/actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
- uses: cachix/install-nix-action@v27
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GH_PULL_TOKEN }}
|
# Gitea will supply a token in GITHUB_TOKEN, which this action passes to
|
||||||
extra_nix_config: |
|
# Nix (as access-tokens) when downloading from GitHub
|
||||||
|
github-token: ${{ secrets.GH_PULL_TOKEN }}
|
||||||
|
extra-conf: |
|
||||||
# Make sure we're using sandbox
|
# Make sure we're using sandbox
|
||||||
sandbox-fallback = false
|
sandbox-fallback = false
|
||||||
|
|
||||||
|
# Determinate performance features
|
||||||
|
lazy-trees = true
|
||||||
|
eval-cores = 0
|
||||||
|
|
||||||
extra-substituters = https://nix-cache.nul.ie
|
extra-substituters = https://nix-cache.nul.ie
|
||||||
extra-trusted-public-keys = nix-cache.nul.ie-1:BzH5yMfF4HbzY1C977XzOxoPhEc9Zbu39ftPkUbH+m4=
|
extra-trusted-public-keys = nix-cache.nul.ie-1:BzH5yMfF4HbzY1C977XzOxoPhEc9Zbu39ftPkUbH+m4=
|
||||||
|
|
||||||
|
|||||||
@@ -64,10 +64,10 @@ let
|
|||||||
ip = "${iproute2}/bin/ip";
|
ip = "${iproute2}/bin/ip";
|
||||||
nbd-client = "${nbd}/bin/nbd-client";
|
nbd-client = "${nbd}/bin/nbd-client";
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
settings.Manager = {
|
||||||
DefaultTimeoutStartSec=20
|
DefaultTimeoutStartSec = "20s";
|
||||||
DefaultDeviceTimeoutSec=20
|
DefaultDeviceTimeoutSec = "20s";
|
||||||
'';
|
};
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user