summaryrefslogtreecommitdiff
path: root/config/pxe.nix
blob: fcf839ea292955e34981c41b8314001506b5887b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ 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
    '';
  };
}