diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index edd9a6e..e8cac6d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,24 +26,23 @@ jobs: - name: NixOS test if: matrix.system == 'x86_64-linux' run: | - nix --accept-flake-config run github:juspay/omnix -- \ - init .#nixos -o /tmp/nixconfig \ + om init .#nixos -o /tmp/nixconfig \ --non-interactive \ --params '{"hostname": "example", "username": "srid", "git-name": "Srid", "git-email": "srid@srid.ca"}' set -x nix build /tmp/nixconfig#nixosConfigurations.example.config.system.build.toplevel - ls -lR result/ + ls -lR result/etc/ type -f ./result/etc/profiles/per-user/runner/bin/git - name: nix-darwin test if: matrix.system == 'aarch64-darwin' || matrix.system == 'x86_64-darwin' run: | - nix --accept-flake-config run github:juspay/omnix -- \ - init .#darwin -o /tmp/nixconfig \ + om init .#darwin -o /tmp/nixconfig \ --non-interactive \ --params '{"hostname": "example", "username": "srid", "git-name": "Srid", "git-email": "srid@srid.ca"}' set -x nix build /tmp/nixconfig#darwinConfigurations.example.config.system.build.toplevel + ls -lR result/etc/ type -f ./result/etc/profiles/per-user/runner/bin/git # TODO: Use `om init` like above