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 /custom/tinc/yggdrasil.nix | |
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
Diffstat (limited to 'custom/tinc/yggdrasil.nix')
-rw-r--r-- | custom/tinc/yggdrasil.nix | 7 |
1 files changed, 5 insertions, 2 deletions
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" = { |