diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vidhar/default.nix | 7 | ||||
-rw-r--r-- | hosts/vidhar/zfs.nix | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 073d1735..d4236d9d 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -237,5 +237,12 @@ | |||
237 | ONBATTERYDELAY 0 | 237 | ONBATTERYDELAY 0 |
238 | ''; | 238 | ''; |
239 | }; | 239 | }; |
240 | |||
241 | services.atftpd = { | ||
242 | enable = true; | ||
243 | extraOptions = [ | ||
244 | "--bind-address=10.141.1.1" | ||
245 | ]; | ||
246 | }; | ||
240 | }; | 247 | }; |
241 | } | 248 | } |
diff --git a/hosts/vidhar/zfs.nix b/hosts/vidhar/zfs.nix index 8c164bbd..cd559807 100644 --- a/hosts/vidhar/zfs.nix +++ b/hosts/vidhar/zfs.nix | |||
@@ -94,6 +94,12 @@ in { | |||
94 | fsType = "zfs"; | 94 | fsType = "zfs"; |
95 | options = [ "zfsutil" ]; | 95 | options = [ "zfsutil" ]; |
96 | }; | 96 | }; |
97 | |||
98 | "/srv/tftp" = | ||
99 | { device = "ssd-raid1/local/srv-tftp"; | ||
100 | fsType = "zfs"; | ||
101 | options = [ "zfsutil" ]; | ||
102 | }; | ||
97 | 103 | ||
98 | "/var/log" = | 104 | "/var/log" = |
99 | { device = "ssd-raid1/local/var-log"; | 105 | { device = "ssd-raid1/local/var-log"; |