nixos/tftpd: format with nixmft-rfc-style

This commit is contained in:
Sandro Jäckel
2024-11-04 15:54:39 +01:00
parent 7e6a0edf64
commit 8440f6cc6f
+12 -8
View File
@@ -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}";
};
};