summaryrefslogtreecommitdiff
path: root/config/pxe.nix
blob: ad90e0c56227dbe189c71af178ab7af8ae24d248 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ config, lib, pkgs, ... }: {
  services.dnsmasq = {
    extraConfig = ''
      enable-tftp
      tftp-root=${pkgs.ipxe}
      dhcp-userclass=set:ipxe,iPXE
      dhcp-boot=tag:!ipxe,undionly.kpxe
      dhcp-boot=http://boot.ipxe.org/demo/boot.php
    '';
  };
}