summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-06 17:24:28 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-06 17:24:28 +0100
commitd1aa61643ab6b70abe8bc23f73a43a9a1411ed96 (patch)
treeacb80fc051a36523af6ed9028279732652a68287 /hosts
parent11c5b5182e32d4c990183765b5362260af380ea9 (diff)
downloadnixos-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.nix7
-rw-r--r--hosts/vidhar/zfs.nix6
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";