diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-06 17:24:28 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-06 17:24:28 +0100 |
commit | d1aa61643ab6b70abe8bc23f73a43a9a1411ed96 (patch) | |
tree | acb80fc051a36523af6ed9028279732652a68287 /hosts | |
parent | 11c5b5182e32d4c990183765b5362260af380ea9 (diff) | |
download | nixos-d1aa61643ab6b70abe8bc23f73a43a9a1411ed96.tar nixos-d1aa61643ab6b70abe8bc23f73a43a9a1411ed96.tar.gz nixos-d1aa61643ab6b70abe8bc23f73a43a9a1411ed96.tar.bz2 nixos-d1aa61643ab6b70abe8bc23f73a43a9a1411ed96.tar.xz nixos-d1aa61643ab6b70abe8bc23f73a43a9a1411ed96.zip |
vidhar: tftp
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"; |