diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -30,6 +30,7 @@ in rec { | |||
30 | ./custom/zsh.nix | 30 | ./custom/zsh.nix |
31 | ./users.nix | 31 | ./users.nix |
32 | ./custom/tinc/def.nix | 32 | ./custom/tinc/def.nix |
33 | ./custom/tinc/yggdrasil.nix | ||
33 | ./custom/ymir-nginx.nix | 34 | ./custom/ymir-nginx.nix |
34 | ./custom/uucp.nix | 35 | ./custom/uucp.nix |
35 | ./custom/unit-status-mail.nix | 36 | ./custom/unit-status-mail.nix |
@@ -271,16 +272,16 @@ in rec { | |||
271 | chmod 0640 /etc/shadow | 272 | chmod 0640 /etc/shadow |
272 | ''; | 273 | ''; |
273 | 274 | ||
274 | services.customTinc.networks = ((import ./custom/tinc/yggdrasil.nix) { | 275 | services.yggdrasilTinc = { |
275 | inherit (pkgs) stdenv nettools openresolv; | 276 | enable = true; |
276 | name = "ymir"; | ||
277 | connect = false; | 277 | connect = false; |
278 | useDNS = false; | 278 | useDNS = false; |
279 | ipConf = { | 279 | interfaceConfig = { |
280 | ip4 = [ { address = "10.141.5.1"; prefixLength = 16; } ]; | 280 | ip4 = [ { address = "10.141.5.1"; prefixLength = 16; } ]; |
281 | }; | 281 | }; |
282 | }) | 282 | }; |
283 | // ((import ./custom/tinc/laeradhr.nix) { | 283 | |
284 | services.customTinc.networks = ((import ./custom/tinc/laeradhr.nix) { | ||
284 | inherit (pkgs) stdenv nettools openresolv; | 285 | inherit (pkgs) stdenv nettools openresolv; |
285 | name = "ymir"; | 286 | name = "ymir"; |
286 | connect = false; | 287 | connect = false; |