Refactor setup
This commit is contained in:
parent
b6b118f819
commit
a7e892635c
16 changed files with 124 additions and 210 deletions
|
|
@ -14,6 +14,13 @@
|
|||
The home directory for the default user.
|
||||
'';
|
||||
};
|
||||
tsMask = mkOption {
|
||||
type = types.str;
|
||||
default = "100.64.0.0/10";
|
||||
description = ''
|
||||
The localhost address.
|
||||
'';
|
||||
};
|
||||
localhost = mkOption {
|
||||
type = types.str;
|
||||
default = "127.0.0.1";
|
||||
|
|
@ -24,9 +31,14 @@
|
|||
port = mkOption {
|
||||
type = types.attrsOf types.port;
|
||||
default = {
|
||||
conduit = 29800;
|
||||
forgejo = 47674;
|
||||
headscale = 27327;
|
||||
http = 80;
|
||||
https = 443;
|
||||
jellyfin = 8096;
|
||||
vault-rkt = 25487;
|
||||
vault-ws = 40513;
|
||||
};
|
||||
description = ''
|
||||
The mapping from service to ports.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue