-
Notifications
You must be signed in to change notification settings - Fork 79
55 lines (46 loc) · 1.23 KB
/
home.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Home
on:
pull_request:
push:
branches:
- master
paths-ignore:
- 'GNOME.md'
- 'README.md'
- 'notes/**'
- '.git-crypt/**'
- '.gitattributes'
- '.gitignore'
- 'system/**'
- 'outputs/os.nix'
- 'switch'
- '.mergify.yml'
- 'garnix.yaml'
jobs:
build:
runs-on: ubuntu-latest
# temporarily disabling these jobs
if: false
strategy:
fail-fast: true
matrix:
config_name:
- hyprland-edp
- hyprland-hdmi
- hyprland-hdmi-mutable
- xmonad-edp
- xmonad-hdmi
steps:
- uses: actions/[email protected]
- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v30
- name: "Install Cachix ❄️"
uses: cachix/cachix-action@v15
with:
name: gvolpe-nixos
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
# Needed because cachix is also installed by Home Manager
- name: "Set priority flag for Cachix 🚩"
run: nix-env --set-flag priority 0 cachix
- name: "Build ${{ matrix.config_name }} Home Manager config 🏠"
run: nix build .#homeConfigurations.${{ matrix.config_name }}.activationPackage -L