diff --git a/.github/workflows/nixos.yml b/.github/workflows/nixos.yml index 9ca6290..c297f79 100644 --- a/.github/workflows/nixos.yml +++ b/.github/workflows/nixos.yml @@ -6,10 +6,25 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: true + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: true + swap-storage: true + - name: "Install Nix ❄️" uses: cachix/install-nix-action@v15 diff --git a/nixos/common/default.nix b/nixos/common/default.nix index 8c082a0..4b4bbf7 100644 --- a/nixos/common/default.nix +++ b/nixos/common/default.nix @@ -27,6 +27,7 @@ "https://nixpkgs-review-bot.cachix.org" "https://colmena.cachix.org" "https://hyprland.cachix.org" + "https://0x76-infra.cachix.org" ]; trusted-public-keys = [ "cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=" @@ -34,6 +35,7 @@ "nixpkgs-review-bot.cachix.org-1:eppgiDjPk7Hkzzz7XlUesk3rcEHqNDozGOrcLc8IqwE=" "colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + "0x76-infra.cachix.org-1:dC1qp+VEN3jj5pdK4URlXR9hf3atT+MnpKGu6PZjMc8=" ]; # Also use zsh for root; };