Skip to content

Commit

Permalink
nixos/tftpd: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 4, 2024
1 parent 8440f6c commit 22fea14
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions nixos/modules/services/networking/tftpd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
}:

{

###### interface

options = {

services.tftpd.enable = lib.mkOption {
type = lib.types.bool;
default = false;
Expand All @@ -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 {
Expand All @@ -42,7 +34,5 @@
server = "${pkgs.netkittftp}/sbin/in.tftpd";
serverArgs = "${config.services.tftpd.path}";
};

};

}

0 comments on commit 22fea14

Please sign in to comment.