diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-02 20:58:30 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-02 20:58:30 +0200 |
| commit | de1d5fc09b34d86386888648b18951c1aca3b8f7 (patch) | |
| tree | c12f822afdc98e893c4af84b17af1a7ea7232935 | |
| parent | 6e4aff5269ef7677ddc23ccb498c130a0e1403a2 (diff) | |
| download | nixos-de1d5fc09b34d86386888648b18951c1aca3b8f7.tar nixos-de1d5fc09b34d86386888648b18951c1aca3b8f7.tar.gz nixos-de1d5fc09b34d86386888648b18951c1aca3b8f7.tar.bz2 nixos-de1d5fc09b34d86386888648b18951c1aca3b8f7.tar.xz nixos-de1d5fc09b34d86386888648b18951c1aca3b8f7.zip | |
Config.nix now without arguments
| -rw-r--r-- | custom/tinc/laeradhr.nix | 7 | ||||
| -rw-r--r-- | custom/tinc/yggdrasil.nix | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/custom/tinc/laeradhr.nix b/custom/tinc/laeradhr.nix index cf1b196d..7db4bec8 100644 --- a/custom/tinc/laeradhr.nix +++ b/custom/tinc/laeradhr.nix | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | { config, pkgs, name, ip, ... }: | 1 | { config, pkgs, ... }: |
| 2 | 2 | ||
| 3 | { | 3 | let |
| 4 | name = "unknown"; | ||
| 5 | ip = "xxx.xxx.xxx.xxx"; | ||
| 6 | in { | ||
| 4 | config.services.tinc = { | 7 | config.services.tinc = { |
| 5 | networks = { | 8 | networks = { |
| 6 | "laeradhr" = { | 9 | "laeradhr" = { |
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index 1d642840..54f47281 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | { config, pkgs, name, ip, ... }: | 1 | { config, pkgs, ... }: |
| 2 | 2 | ||
| 3 | { | 3 | let |
| 4 | name = "unknown"; | ||
| 5 | ip = "xxx.xxx.xxx.xxx"; | ||
| 6 | in { | ||
| 4 | config.services.tinc = { | 7 | config.services.tinc = { |
| 5 | networks = { | 8 | networks = { |
| 6 | "yggdrasil" = { | 9 | "yggdrasil" = { |
