summaryrefslogtreecommitdiff
path: root/hosts/vidhar/printing/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-03-05 11:20:27 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-03-05 11:20:27 +0100
commitef39030d83fb488b16035c82f1f876ed103f541a (patch)
tree995bae492901f8370db02b99d95123630d515e18 /hosts/vidhar/printing/default.nix
parent29480b6e86ca6057d4151accdb5d4103f1657596 (diff)
downloadnixos-ef39030d83fb488b16035c82f1f876ed103f541a.tar
nixos-ef39030d83fb488b16035c82f1f876ed103f541a.tar.gz
nixos-ef39030d83fb488b16035c82f1f876ed103f541a.tar.bz2
nixos-ef39030d83fb488b16035c82f1f876ed103f541a.tar.xz
nixos-ef39030d83fb488b16035c82f1f876ed103f541a.zip
...
Diffstat (limited to 'hosts/vidhar/printing/default.nix')
-rw-r--r--hosts/vidhar/printing/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/hosts/vidhar/printing/default.nix b/hosts/vidhar/printing/default.nix
index 0e0dfcf7..d844823b 100644
--- a/hosts/vidhar/printing/default.nix
+++ b/hosts/vidhar/printing/default.nix
@@ -10,10 +10,10 @@ in {
10 privateNetwork = true; 10 privateNetwork = true;
11 ephemeral = true; 11 ephemeral = true;
12 autoStart = true; 12 autoStart = true;
13 hostAddress = "10.141.4.0"; 13 hostAddress = "10.141.5.0";
14 hostAddress6 = "2a03:4000:52:ada:4::"; 14 hostAddress6 = "2a03:4000:52:ada:5::";
15 localAddress = "10.141.4.1"; 15 localAddress = "10.141.5.1";
16 localAddress6 = "2a03:4000:52:ada:4::1"; 16 localAddress6 = "2a03:4000:52:ada:5::1";
17 interfaces = [ "printer" ]; 17 interfaces = [ "printer" ];
18 config = let 18 config = let
19 hostConfig = config; 19 hostConfig = config;
@@ -42,10 +42,10 @@ in {
42 { subnet = "10.141.3.0/24"; 42 { subnet = "10.141.3.0/24";
43 option-data = [ 43 option-data = [
44 { name = "domain-name-servers"; 44 { name = "domain-name-servers";
45 data = "10.141.4.0"; 45 data = "10.141.5.0";
46 } 46 }
47 { name = "ntp-servers"; 47 { name = "ntp-servers";
48 data = "10.141.4.0"; 48 data = "10.141.5.0";
49 } 49 }
50 { name = "broadcast-address"; 50 { name = "broadcast-address";
51 data = "10.141.3.255"; 51 data = "10.141.3.255";
@@ -81,7 +81,7 @@ in {
81 allowFrom = [ "all" ]; 81 allowFrom = [ "all" ];
82 extraConf = '' 82 extraConf = ''
83 ServerName printing 83 ServerName printing
84 ServerAlias 10.141.4.1 2a03:4000:52:ada:4::1 printing.vidhar.yggdrasil printing.vidhar.lan.yggdrasil 84 ServerAlias 10.141.5.1 2a03:4000:52:ada:5::1 printing.vidhar.yggdrasil printing.vidhar.lan.yggdrasil
85 ''; 85 '';
86 }; 86 };
87 87