feat: try rework
This commit is contained in:
parent
1ddbd3b8b6
commit
ecf10628c3
51 changed files with 1941 additions and 445 deletions
|
|
@ -1,8 +1,10 @@
|
|||
rec {
|
||||
secrets = import ../intermediate/secrets.nix;
|
||||
|
||||
network = {
|
||||
subnet = "192.168.2.0/24";
|
||||
subnet_base = "192.168.2.0";
|
||||
gateway = ips.router;
|
||||
gateway = devices.router.ip;
|
||||
cidr = 24;
|
||||
};
|
||||
|
||||
|
|
@ -11,6 +13,7 @@ rec {
|
|||
type = "local";
|
||||
ip = "192.168.2.100";
|
||||
};
|
||||
"self" = devices.pi;
|
||||
"desktop" = {
|
||||
type = "local";
|
||||
ip = "192.168.2.101";
|
||||
|
|
@ -28,11 +31,11 @@ rec {
|
|||
ip = "193.31.24.99";
|
||||
domain = "nudelerde.de";
|
||||
auto_ssh = {
|
||||
enable = true;
|
||||
sshPort = 22;
|
||||
sshUser = "root";
|
||||
key = secret.remote_proxy_key;
|
||||
known_hosts = secret.remote_proxy_known_hosts;
|
||||
forwards = [];
|
||||
key = secrets.byName.autossh_remote_proxy_key.path;
|
||||
known_hosts = secrets.byName.autossh_remote_proxy_known_hosts.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -50,5 +53,4 @@ rec {
|
|||
];
|
||||
|
||||
local_domain = "home";
|
||||
extern_domain = "nudelerde.de";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue