new beginning
This commit is contained in:
3
modules/modules-list.nix
Normal file
3
modules/modules-list.nix
Normal file
@ -0,0 +1,3 @@
|
||||
[
|
||||
./remote.nix
|
||||
]
|
25
modules/remote.nix
Normal file
25
modules/remote.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{lib, ...}: let
|
||||
inherit (lib) mkOption types;
|
||||
in {
|
||||
options.remote = {
|
||||
ip = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
sshUser = mkOption {
|
||||
type = types.str;
|
||||
default = "root";
|
||||
};
|
||||
sshPort = mkOption {
|
||||
type = types.port;
|
||||
default = 22;
|
||||
};
|
||||
allowLocalDeployment = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
remoteBuild = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user