From d1aa61643ab6b70abe8bc23f73a43a9a1411ed96 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 6 Jan 2022 17:24:28 +0100 Subject: vidhar: tftp --- hosts/vidhar/default.nix | 7 +++++++ hosts/vidhar/zfs.nix | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'hosts') 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 @@ ONBATTERYDELAY 0 ''; }; + + services.atftpd = { + enable = true; + extraOptions = [ + "--bind-address=10.141.1.1" + ]; + }; }; } 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 { fsType = "zfs"; options = [ "zfsutil" ]; }; + + "/srv/tftp" = + { device = "ssd-raid1/local/srv-tftp"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; "/var/log" = { device = "ssd-raid1/local/var-log"; -- cgit v1.2.3