From 8440f6cc6f825d2ca85585f6fbcf3018d934f7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 4 Nov 2024 15:54:39 +0100 Subject: [PATCH] nixos/tftpd: format with nixmft-rfc-style --- nixos/modules/services/networking/tftpd.nix | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/nixos/modules/services/networking/tftpd.nix b/nixos/modules/services/networking/tftpd.nix index d8fe87ad8d78..17ced3547d22 100644 --- a/nixos/modules/services/networking/tftpd.nix +++ b/nixos/modules/services/networking/tftpd.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { @@ -25,19 +30,18 @@ }; - ###### implementation config = lib.mkIf config.services.tftpd.enable { services.xinetd.enable = true; - services.xinetd.services = lib.singleton - { name = "tftp"; - protocol = "udp"; - server = "${pkgs.netkittftp}/sbin/in.tftpd"; - serverArgs = "${config.services.tftpd.path}"; - }; + services.xinetd.services = lib.singleton { + name = "tftp"; + protocol = "udp"; + server = "${pkgs.netkittftp}/sbin/in.tftpd"; + serverArgs = "${config.services.tftpd.path}"; + }; };