diff --git a/.forgejo/workflows/nix.yaml b/.forgejo/workflows/nix.yaml index bd37ba3..204f9b8 100644 --- a/.forgejo/workflows/nix.yaml +++ b/.forgejo/workflows/nix.yaml @@ -6,19 +6,20 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Load cached nix store - id: cache-nix-store - uses: actions/cache/restore@v4 - with: - path: /nix/store - key: ${{ runner.os }}-nix-store + # cache not needed since we now run on the host directly + # - name: Load cached nix store + # id: cache-nix-store + # uses: actions/cache/restore@v4 + # with: + # path: /nix/store + # key: ${{ runner.os }}-nix-store - name: Check nix flake run: | nix flake check - - name: Save nix store - uses: actions/cache/save@v4 - with: - path: /nix/store - key: ${{ steps.cache-nix-store.outputs.cache-primary-key }} + # - name: Save nix store + # uses: actions/cache/save@v4 + # with: + # path: /nix/store + # key: ${{ steps.cache-nix-store.outputs.cache-primary-key }} diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 33037a6..3a8339d 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -766,7 +766,6 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 ]; tokenFile = config.sops.secrets."forgejo-runner.env".path; hostPackages = with pkgs; [ - sh bash coreutils curl @@ -777,6 +776,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 ]; }; }; + environment.systemPackages = with pkgs; [nodejs]; services.caddy.virtualHosts."git.lyte.dev" = { extraConfig = '' reverse_proxy :${toString config.services.forgejo.settings.server.HTTP_PORT}