feat(i3): pin Element to Desktop 8 #262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NixOS | |
concurrency: nixos | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "README.md" | |
- "NOTES.md" | |
- ".gitignore" | |
jobs: | |
build-boar: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Create Dir for Mounting moar Disk Space β" | |
run: | | |
sudo mkdir /nix | |
- name: "Maximize Disk Space" | |
run: | | |
sudo rm -rf $AGENT_TOOLSDIRECTORY | |
sudo rm -rf /usr/local/.ghcup | |
sudo rm -rf /usr/local/share/powershell | |
sudo rm -rf /usr/local/share/chromium | |
sudo rm -rf /usr/local/lib/node_modules | |
sudo rm -rf /usr/local/lib/heroku | |
sudo rm -rf /var/lib/docker/overlay2 | |
sudo rm -rf /home/linuxbrew | |
sudo rm -rf /home/runner/.rustup | |
- name: "Maximize Disk Space π" | |
uses: easimon/maximize-build-space@v8 | |
with: | |
root-reserve-mb: 8192 | |
swap-size-mb: 1024 | |
build-mount-path: /nix | |
remove-dotnet: "true" | |
remove-android: "true" | |
remove-haskell: "true" | |
remove-codeql: "true" | |
remove-docker-images: "true" | |
- uses: actions/checkout@v3 | |
- name: "Install Nix βοΈ" | |
uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: "Install Cachix βοΈ" | |
uses: cachix/cachix-action@v12 | |
with: | |
name: workflow-nixos-config | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
# - name: Setup tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
- name: "Build NixOS config βοΈ" | |
run: | | |
nix build .#nixosConfigurations.boar.config.system.build.toplevel --override-input secrets nixpkgs | |
build-flexbox: | |
runs-on: ubuntu-latest | |
needs: [build-boar] | |
steps: | |
- name: "Create Dir for Mounting moar Disk Space β" | |
run: | | |
sudo mkdir /nix | |
- name: "Maximize Disk Space" | |
run: | | |
sudo rm -rf $AGENT_TOOLSDIRECTORY | |
sudo rm -rf /usr/local/.ghcup | |
sudo rm -rf /usr/local/share/powershell | |
sudo rm -rf /usr/local/share/chromium | |
sudo rm -rf /usr/local/lib/node_modules | |
sudo rm -rf /usr/local/lib/heroku | |
sudo rm -rf /var/lib/docker/overlay2 | |
sudo rm -rf /home/linuxbrew | |
sudo rm -rf /home/runner/.rustup | |
- name: "Maximize Disk Space π" | |
uses: easimon/maximize-build-space@v8 | |
with: | |
root-reserve-mb: 24432 | |
swap-size-mb: 512 | |
build-mount-path: /nix | |
remove-dotnet: "true" | |
remove-android: "true" | |
remove-haskell: "true" | |
remove-codeql: "true" | |
remove-docker-images: "true" | |
- uses: actions/checkout@v3 | |
- name: "Install Nix βοΈ" | |
uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: "Install Cachix βοΈ" | |
uses: cachix/cachix-action@v12 | |
with: | |
name: workflow-nixos-config | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
# - name: Setup tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
- name: "Build NixOS config βοΈ" | |
run: | | |
nix build .#nixosConfigurations.flexbox.config.system.build.toplevel --override-input secrets nixpkgs |