diff options
Diffstat (limited to 'hosts/common/optional/services')
-rw-r--r-- | hosts/common/optional/services/dhcp.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix index b5d7819..17e091f 100644 --- a/hosts/common/optional/services/dhcp.nix +++ b/hosts/common/optional/services/dhcp.nix @@ -1,9 +1,16 @@ { config, lib, pkgs, ... }: { - environment.systemPackages = with pkgs; [ - ipxe - ]; + environment = { + etc = { + "tftp/ipxe.efi".source = ${pkgs.ipxe}/ipxe.efi; + "tftp/undionly.kpxe".source = ${pkgs.ipxe}/undionly.kpxe; + }; + + systemPackages = with pkgs; [ + ipxe + ]; + }; services = { kea.dhcp4 = { |