Update port config
This commit is contained in:
parent
f2e2700acb
commit
aa79162e2c
6 changed files with 33 additions and 21 deletions
|
|
@ -4,28 +4,41 @@
|
|||
type = types.str;
|
||||
default = "invariantspace.com";
|
||||
description = ''
|
||||
Store the default domain for all devices.
|
||||
The domain for all devices.
|
||||
'';
|
||||
};
|
||||
homeDir = mkOption {
|
||||
type = types.str;
|
||||
default = "/home/${config.constants.userName}";
|
||||
description = ''
|
||||
The default home directory for the default user.
|
||||
The home directory for the default user.
|
||||
'';
|
||||
};
|
||||
localhost = mkOption {
|
||||
type = types.str;
|
||||
default = "127.0.0.1";
|
||||
description = ''
|
||||
Store the default localhost address.
|
||||
The localhost address.
|
||||
'';
|
||||
};
|
||||
port = mkOption {
|
||||
type = types.attrsOf types.port;
|
||||
default = {
|
||||
http = 80;
|
||||
https = 443;
|
||||
jellyfin = 8096;
|
||||
wireguard-server = 45556;
|
||||
xray = 50051;
|
||||
};
|
||||
description = ''
|
||||
The mapping from service to ports.
|
||||
'';
|
||||
};
|
||||
postMaster = mkOption {
|
||||
type = types.str;
|
||||
default = "trivial@${config.constants.domain}";
|
||||
description = ''
|
||||
Store the default post master email address.
|
||||
The post master email address.
|
||||
'';
|
||||
};
|
||||
publicKeys = mkOption {
|
||||
|
|
@ -55,7 +68,7 @@
|
|||
type = types.str;
|
||||
default = "macronova";
|
||||
description = ''
|
||||
The default username across all devices.
|
||||
The username across all devices.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue