From 22fea14d1197342935c1e95aee2e1886092f2e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 4 Nov 2024 15:55:13 +0100 Subject: [PATCH] nixos/tftpd: cleanup --- nixos/modules/services/networking/tftpd.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/nixos/modules/services/networking/tftpd.nix b/nixos/modules/services/networking/tftpd.nix index 17ced3547d224..40fcf22611e9d 100644 --- a/nixos/modules/services/networking/tftpd.nix +++ b/nixos/modules/services/networking/tftpd.nix @@ -6,11 +6,7 @@ }: { - - ###### interface - options = { - services.tftpd.enable = lib.mkOption { type = lib.types.bool; default = false; @@ -27,13 +23,9 @@ Where the tftp server files are stored. ''; }; - }; - ###### implementation - config = lib.mkIf config.services.tftpd.enable { - services.xinetd.enable = true; services.xinetd.services = lib.singleton { @@ -42,7 +34,5 @@ server = "${pkgs.netkittftp}/sbin/in.tftpd"; serverArgs = "${config.services.tftpd.path}"; }; - }; - }