From a194e1fb9081716c35b66bcb01db1405adf989fa Mon Sep 17 00:00:00 2001 From: Sin Ser'hao Date: Fri, 9 Jan 2026 16:56:05 +0100 Subject: [PATCH] mkem --- .gitea/workflows/deploy.yaml | 5 ++++- modules/gitea/thea/virtualisation.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 0793642..d909dce 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -5,6 +5,9 @@ on: jobs: deploy: + container: + volumes: + - /nix/store:/var/nix/hosted-store permissions: contents: read id-token: write @@ -26,7 +29,7 @@ jobs: with: extra_nix_config: | extra-trusted-public-keys = localhost:TiRpr2LzamX/MCKBUmFlZ8inWz94QWGL88fMEHg9Kgc= - substituters = http://localhost:5000 + extra-substituters = "local?store=/var/nix/hosted-store&priority=20" secret-key-files = /var/secrets/cache_privkey post-build-hook = /etc/nix/upload-to-cache.sh - name: Install SSH key diff --git a/modules/gitea/thea/virtualisation.nix b/modules/gitea/thea/virtualisation.nix index 02efa94..b868d0c 100644 --- a/modules/gitea/thea/virtualisation.nix +++ b/modules/gitea/thea/virtualisation.nix @@ -24,7 +24,7 @@ container: network: "host" valid_volumes: - - "/nix/store:/nix/store" + - "/var/nix/hosted-store" ''; }; in