nixos-config/modules/deploy.nix

16 lines
297 B
Nix
Raw Normal View History

2021-12-27 18:21:16 +00:00
{ lib, ... }:
{
2023-03-17 04:21:32 +00:00
options.deploy = {
2021-12-27 18:21:16 +00:00
sshPublicKeys = lib.mkOption {
2023-03-17 04:21:32 +00:00
type = lib.types.listOf lib.types.str;
};
targetHost = lib.mkOption {
type = lib.types.str;
2021-12-27 18:21:16 +00:00
};
2023-03-17 04:21:32 +00:00
tags = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
2021-12-27 18:21:16 +00:00
};
};
}