diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-02-27 17:57:00 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-02-27 17:57:00 +0100 |
commit | 7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec (patch) | |
tree | 9986fbbb3824e3b8672f6122adceb0038624ffda /hosts/vidhar | |
parent | df4ba4d49dd53a62adc39c1d2ea887fe464ec09b (diff) | |
download | nixos-7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec.tar nixos-7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec.tar.gz nixos-7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec.tar.bz2 nixos-7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec.tar.xz nixos-7fcaba2d4cabc8d5dfd35648ec1b9b6795e490ec.zip |
vidhar: printer
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa | 3 | ||||
-rw-r--r-- | hosts/vidhar/dns/zones/yggdrasil.soa | 3 | ||||
-rw-r--r-- | hosts/vidhar/network/dhcp/default.nix | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa b/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa index 90a26ff5..01941df6 100644 --- a/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa +++ b/hosts/vidhar/dns/zones/arpa.in-addr.10.141.soa | |||
@@ -1,7 +1,7 @@ | |||
1 | $ORIGIN 141.10.in-addr.arpa. | 1 | $ORIGIN 141.10.in-addr.arpa. |
2 | $TTL 300 | 2 | $TTL 300 |
3 | @ IN SOA vidhar.lan.yggdrasil. hostmaster.yggdrasil.li ( | 3 | @ IN SOA vidhar.lan.yggdrasil. hostmaster.yggdrasil.li ( |
4 | 2022031506 ; serial | 4 | 2023022700 ; serial |
5 | 300 ; refresh | 5 | 300 ; refresh |
6 | 300 ; retry | 6 | 300 ; retry |
7 | 300 ; expire | 7 | 300 ; expire |
@@ -11,6 +11,7 @@ $TTL 300 | |||
11 | IN NS vidhar.lan.yggdrasil. | 11 | IN NS vidhar.lan.yggdrasil. |
12 | 12 | ||
13 | 1.0 IN PTR vidhar.lan.yggdrasil. | 13 | 1.0 IN PTR vidhar.lan.yggdrasil. |
14 | 2.0 IN PTR printer.lan.yggdrasil. | ||
14 | 15 | ||
15 | 1.1 IN PTR vidhar.mgmt.yggdrasil. | 16 | 1.1 IN PTR vidhar.mgmt.yggdrasil. |
16 | 2.1 IN PTR switch01.mgmt.yggdrasil. | 17 | 2.1 IN PTR switch01.mgmt.yggdrasil. |
diff --git a/hosts/vidhar/dns/zones/yggdrasil.soa b/hosts/vidhar/dns/zones/yggdrasil.soa index e2e906d9..49617c80 100644 --- a/hosts/vidhar/dns/zones/yggdrasil.soa +++ b/hosts/vidhar/dns/zones/yggdrasil.soa | |||
@@ -1,7 +1,7 @@ | |||
1 | $ORIGIN yggdrasil. | 1 | $ORIGIN yggdrasil. |
2 | $TTL 300 | 2 | $TTL 300 |
3 | @ IN SOA vidhar.yggdrasil. hostmaster.yggdrasil.li ( | 3 | @ IN SOA vidhar.yggdrasil. hostmaster.yggdrasil.li ( |
4 | 2022112101 ; serial | 4 | 2023022700 ; serial |
5 | 300 ; refresh | 5 | 300 ; refresh |
6 | 300 ; retry | 6 | 300 ; retry |
7 | 300 ; expire | 7 | 300 ; expire |
@@ -23,6 +23,7 @@ pgbackrest.surtr IN CNAME surtr.yggdrasil. | |||
23 | 23 | ||
24 | 24 | ||
25 | vidhar.lan IN A 10.141.0.1 | 25 | vidhar.lan IN A 10.141.0.1 |
26 | printer.lan IN A 10.141.0.2 | ||
26 | 27 | ||
27 | vidhar.mgmt IN A 10.141.1.1 | 28 | vidhar.mgmt IN A 10.141.1.1 |
28 | switch01.mgmt IN A 10.141.1.2 | 29 | switch01.mgmt IN A 10.141.1.2 |
diff --git a/hosts/vidhar/network/dhcp/default.nix b/hosts/vidhar/network/dhcp/default.nix index 1c29dc6a..af7a3545 100644 --- a/hosts/vidhar/network/dhcp/default.nix +++ b/hosts/vidhar/network/dhcp/default.nix | |||
@@ -108,6 +108,10 @@ with lib; | |||
108 | { hostname = "geri"; | 108 | { hostname = "geri"; |
109 | hw-address = "0e:e6:43:5e:37:7b"; | 109 | hw-address = "0e:e6:43:5e:37:7b"; |
110 | } | 110 | } |
111 | { hostname = "printer"; | ||
112 | hw-address = "30:cd:a7:b0:55:8d"; | ||
113 | ip-address = "10.141.0.2"; | ||
114 | } | ||
111 | ]; | 115 | ]; |
112 | } | 116 | } |
113 | { subnet = "10.141.1.0/24"; | 117 | { subnet = "10.141.1.0/24"; |