From 69b629cf0706576d859ce8ef398181936140439e Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Tue, 4 Oct 2022 23:00:58 +0700 Subject: [PATCH] workflow|flake: build blossom github pleaseeeeeee build mesa and my entire system for me thanks --- .github/workflows/blossom.yml | 23 +++++++++++++++++++++++ flake.nix | 1 + 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/blossom.yml diff --git a/.github/workflows/blossom.yml b/.github/workflows/blossom.yml new file mode 100644 index 0000000..9443eef --- /dev/null +++ b/.github/workflows/blossom.yml @@ -0,0 +1,23 @@ +name: Build blossom + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + name: Build blossom + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: cachix/install-nix-action@v17 + with: + install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.12.0pre20220930_89ca75c/install + extra_nix_config: experimental-features = nix-command flakes + - uses: cachix/cachix-action@v10 + with: + name: lava + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - run: nix build -L .#nixosConfigurations."blossom".config.system.build.toplevel diff --git a/flake.nix b/flake.nix index 9b30df4..58fccc2 100644 --- a/flake.nix +++ b/flake.nix @@ -86,6 +86,7 @@ in { inherit (pkgs.me) linux-lava; + inherit (self) nixosConfigurations; }; packages."aarch64-linux" =