add nixos CI

This commit is contained in:
Vivian 2022-06-12 17:06:32 +02:00
parent 65751c7323
commit b7d9a0c371
2 changed files with 7 additions and 1 deletions

View file

@ -86,7 +86,9 @@
nixosConfigurations = lib.foldr (el: acc: acc // mkConfig el) { } nixHosts;
deploy.nodes = lib.foldr (el: acc: acc // mkDeploy el) { } nixHosts;
apps.${system} = {
apps.${system} = rec {
default = deploy;
deploy = {
type = "app";
program = "${deploy-rs.packages.${system}.deploy-rs}/bin/deploy";