This commit is contained in:
parent
878334bed7
commit
08b8e24c8c
2 changed files with 7 additions and 1 deletions
|
@ -6,3 +6,7 @@ steps:
|
||||||
image: registry.gitlab.com/pipeline-components/yamllint
|
image: registry.gitlab.com/pipeline-components/yamllint
|
||||||
commands:
|
commands:
|
||||||
- yamllint -c .yamllint.yaml .
|
- yamllint -c .yamllint.yaml .
|
||||||
|
- name: nix flake check
|
||||||
|
image: nixos/nix:master
|
||||||
|
commands:
|
||||||
|
- nix --extra-experimental-features nix-command --extra-experimental-features flakes flake check --no-build
|
||||||
|
|
|
@ -86,7 +86,9 @@
|
||||||
nixosConfigurations = lib.foldr (el: acc: acc // mkConfig el) { } nixHosts;
|
nixosConfigurations = lib.foldr (el: acc: acc // mkConfig el) { } nixHosts;
|
||||||
deploy.nodes = lib.foldr (el: acc: acc // mkDeploy el) { } nixHosts;
|
deploy.nodes = lib.foldr (el: acc: acc // mkDeploy el) { } nixHosts;
|
||||||
|
|
||||||
apps.${system} = {
|
|
||||||
|
apps.${system} = rec {
|
||||||
|
default = deploy;
|
||||||
deploy = {
|
deploy = {
|
||||||
type = "app";
|
type = "app";
|
||||||
program = "${deploy-rs.packages.${system}.deploy-rs}/bin/deploy";
|
program = "${deploy-rs.packages.${system}.deploy-rs}/bin/deploy";
|
||||||
|
|
Loading…
Reference in a new issue