1
Fork 0
mirror of https://github.com/RGBCube/agenix synced 2025-08-01 11:17:45 +00:00

Try to add nix-darwin support to agenix

Merges work by @montchr, @cmhamill, and @rtimush and rebases on main.

- fixes https://github.com/ryantm/agenix/issues/60
- fixes https://github.com/ryantm/agenix/issues/120
- closes https://github.com/ryantm/agenix/pull/107
This commit is contained in:
Nathan Henrie 2023-01-29 15:42:58 -07:00
parent 6d3a415637
commit 351e874918
6 changed files with 191 additions and 49 deletions

View file

@ -23,3 +23,8 @@ jobs:
- run: nix build
- run: nix fmt . -- --check
- run: nix flake check
- run: |
system=$(nix build --no-link --print-out-paths .#checks.x86_64-darwin.integration)
${system}/activate-user
sudo ${system}/activate
- run: sudo /run/current-system/sw/bin/agenix-integration