stages: - build - test cache: &global_cache key: files: - flake.lock - flake.nix paths: - /nix/store policy: pull-push build: image: nixos/nix stage: build cache: <<: *global_cache script: - nix --experimental-features 'nix-command flakes' flake check include: - template: Jobs/Secret-Detection.gitlab-ci.yml