From 3aedb499fb2c4ad7bb1fda2a5c6fe42b7cf34ae9 Mon Sep 17 00:00:00 2001 From: soraefir Date: Sun, 21 Apr 2024 10:30:42 +0200 Subject: [PATCH] cache&arion --- .gitea/workflows/build.yml | 7 ++++++- modules/server/default.nix | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 50e1c5c..f16f1de 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -17,11 +17,15 @@ jobs: - name: "Install Nix ❄️" uses: cachix/install-nix-action@v26 + - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: DeterminateSystems/flake-checker-action@main + - name: "Install Cachix ❄️" uses: cachix/cachix-action@v14 with: name: helcel authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: "Build NixOS CI config ❄️" run: | @@ -29,4 +33,5 @@ jobs: - name: "Build NixOS Sandbox config ❄️" run: | - nix build .#nixosConfigurations.sandbox.config.system.build.toplevel \ No newline at end of file + nix build .#nixosConfigurations.sandbox.config.system.build.toplevel + \ No newline at end of file diff --git a/modules/server/default.nix b/modules/server/default.nix index d74d773..7c7c331 100644 --- a/modules/server/default.nix +++ b/modules/server/default.nix @@ -1,6 +1,7 @@ { config, pkgs, ... }: let in { + environment.systemPackages = with pkgs; [ arion ]; virtualisation.arion = { backend = "podman-socket"; projects = {