Refactor setup

This commit is contained in:
Invariantspace 2023-12-06 21:46:16 -08:00
parent b6b118f819
commit a7e892635c
16 changed files with 124 additions and 210 deletions

View file

@ -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.