summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-03 22:32:42 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-03 22:32:42 +0100
commitf95ed850e13e43743571d917d9f7fbc1de5037f6 (patch)
tree2e95189537c8ead227bbf53086afc41199421033
parentcee44dac3c73114bd10b7236e95ef288a0939582 (diff)
downloadnixos-f95ed850e13e43743571d917d9f7fbc1de5037f6.tar
nixos-f95ed850e13e43743571d917d9f7fbc1de5037f6.tar.gz
nixos-f95ed850e13e43743571d917d9f7fbc1de5037f6.tar.bz2
nixos-f95ed850e13e43743571d917d9f7fbc1de5037f6.tar.xz
nixos-f95ed850e13e43743571d917d9f7fbc1de5037f6.zip
syntax poking
-rw-r--r--custom/tinc/yggdrasil.nix2
-rw-r--r--ymir.nix14
2 files changed, 6 insertions, 10 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix
index f17d9b4e..4c19e0e7 100644
--- a/custom/tinc/yggdrasil.nix
+++ b/custom/tinc/yggdrasil.nix
@@ -1,4 +1,4 @@
1{ pkgs, name, ip }: 1{ config, pkgs, name, ip }:
2 2
3{ 3{
4 config.services.tinc = { 4 config.services.tinc = {
diff --git a/ymir.nix b/ymir.nix
index 294a458b..6f074c04 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -19,6 +19,10 @@ in {
19 ./ymir-hw.nix 19 ./ymir-hw.nix
20 ./custom/zsh.nix 20 ./custom/zsh.nix
21 ./users.nix 21 ./users.nix
22 ((import ./custom/tinc.nix) {
23 name = "ymir";
24 ip = {};
25 })
22 ]; 26 ];
23 27
24 boot.loader.grub = { 28 boot.loader.grub = {
@@ -140,12 +144,4 @@ in {
140 members = [ "gkleen" 144 members = [ "gkleen"
141 ]; 145 ];
142 }; 146 };
143} // ((import ./custom/tinc/yggdrasil.nix) { 147}
144 inherit pkgs;
145 name = "ymir";
146 ip = {
147 ip4 = [
148 { address = "10.141.4.1"; prefixLength = 16; }
149 ];
150 };
151})