mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
install nix
This commit is contained in:
parent
5a22b37d73
commit
2238aff468
1 changed files with 11 additions and 11 deletions
|
|
@ -26,9 +26,9 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: install nix
|
||||
uses: https://github.com/DeterminateSystems/determinate-nix-action@v3.5.2
|
||||
with:
|
||||
extra-conf: "lazy-trees = true"
|
||||
uses: https://github.com/DeterminateSystems/determinate-nix-action
|
||||
# with:
|
||||
# extra-conf: "lazy-trees = true"
|
||||
|
||||
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
|
||||
with:
|
||||
|
|
@ -44,20 +44,20 @@ jobs:
|
|||
authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||
|
||||
- uses: https://github.com/workflow/nix-shell-action@v3
|
||||
if: runner.os == 'Linux'
|
||||
# if: runner.os == 'Linux'
|
||||
name: build nixos
|
||||
with:
|
||||
packages: nh
|
||||
script: |
|
||||
nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||
|
||||
- uses: https://github.com/workflow/nix-shell-action@v3
|
||||
if: runner.os == 'macOS'
|
||||
name: build darwin
|
||||
with:
|
||||
packages: nh
|
||||
script: |
|
||||
nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||
# - uses: https://github.com/workflow/nix-shell-action@v3
|
||||
# if: runner.os == 'macOS'
|
||||
# name: build darwin
|
||||
# with:
|
||||
# packages: nh
|
||||
# script: |
|
||||
# nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||
|
||||
# - name: download last artifact
|
||||
# uses: dawidd6/action-download-artifact@v11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue