diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a3123ae..a715d7b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,11 +41,9 @@ jobs: name: Build - run: | - NH_DIR=$(pwd) - NH_FLAKE=/tmp/nh-darwin - mkdir -p $NH_FLAKE - cd $NH_FLAKE + mkdir flake + cd flake nix flake init -t nix-darwin - cd $NH_DIR - nix run -L .#nh -- darwin switch --hostname simple --dry --no-nom --verbose $NH_FLAKE + cd .. + nix run .#nh -- darwin switch --hostname simple --dry --no-nom --verbose ./flake name: Test Switching to Nix Darwin Configuration