aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-12-29 12:44:05 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-12-29 12:44:05 -0800
commitd0f43d62fe085888c811492fc81f92e314bc1a0e (patch)
treeca8ad78635fb7e5fd21e554cddd4a674211891fe /hosts/common/optional/services
parent933d351b694a85610133d2b9f93ba89fa008d6ea (diff)
downloadnix-d0f43d62fe085888c811492fc81f92e314bc1a0e.tar
nix-d0f43d62fe085888c811492fc81f92e314bc1a0e.tar.gz
nix-d0f43d62fe085888c811492fc81f92e314bc1a0e.tar.bz2
nix-d0f43d62fe085888c811492fc81f92e314bc1a0e.tar.lz
nix-d0f43d62fe085888c811492fc81f92e314bc1a0e.tar.xz
nix-d0f43d62fe085888c811492fc81f92e314bc1a0e.tar.zst
nix-d0f43d62fe085888c811492fc81f92e314bc1a0e.zip
Disable tftp-hpa entirely for now
Diffstat (limited to '')
-rw-r--r--hosts/common/optional/services/dhcp.nix36
1 files changed, 18 insertions, 18 deletions
diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix
index 3eed193..2547bf9 100644
--- a/hosts/common/optional/services/dhcp.nix
+++ b/hosts/common/optional/services/dhcp.nix
@@ -3,13 +3,13 @@
environment = {
etc = {
- "tftp/ipxe.efi".source = "${pkgs.ipxe}/ipxe.efi";
- "tftp/undionly.kpxe".source = "${pkgs.ipxe}/undionly.kpxe";
+ #"tftp/ipxe.efi".source = "${pkgs.ipxe}/ipxe.efi";
+ #"tftp/undionly.kpxe".source = "${pkgs.ipxe}/undionly.kpxe";
};
systemPackages = with pkgs; [
ipxe
- tftp-hpa
+ #tftp-hpa
wol
];
};
@@ -114,20 +114,20 @@
};
systemd.services = {
- tftpd = {
- after = [ "nftables.service" ];
- description = "TFTP server";
- serviceConfig = {
- User = "root";
- Group = "root";
- Restart = "always";
- RestartSec = 5;
- Type = "exec";
- ExecStart = "${pkgs.tftp-hpa}/bin/in.tftpd -l -a 192.168.1.1:69 -P /run/tftpd.pid /etc/tftp";
- TimeoutStopSec = 20;
- PIDFile = "/run/tftpd.pid";
- };
- wantedBy = [ "multi-user.target" ];
- };
+ #tftpd = {
+ # after = [ "nftables.service" ];
+ # description = "TFTP server";
+ # serviceConfig = {
+ # User = "root";
+ # Group = "root";
+ # Restart = "always";
+ # RestartSec = 5;
+ # Type = "exec";
+ # ExecStart = "${pkgs.tftp-hpa}/bin/in.tftpd -l -a 192.168.1.1:69 -P /run/tftpd.pid /etc/tftp";
+ # TimeoutStopSec = 20;
+ # PIDFile = "/run/tftpd.pid";
+ # };
+ # wantedBy = [ "multi-user.target" ];
+ #};
};
}