build: exclude nixosConfigurations from being built in CI

As building system configurations relys on having the encrypted *.nix
files available, this just won't work.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-05-11 09:39:51 +02:00
parent 664a99c58f
commit 5b81697d05
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -16,4 +16,7 @@ tasks:
gpg --import c8h4.pgp gpg --import c8h4.pgp
- lint: | - lint: |
make -C nixos-config/ check-git-history make -C nixos-config/ check-git-history
sed -i \
's/nixosConfigurations = builtins.mapAttrs mkSystem machines;/nixosConfigurations =\n builtins.trace (builtins.mapAttrs mkSystem machines) { };/' \
nixos-config/flake.nix
nix flake check nixos-config/ nix flake check nixos-config/