diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 12:56:03 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-09 12:56:03 -0800 |
commit | ac970a5e9cfe4527097a61ede5bc6d3c16963bb8 (patch) | |
tree | b17601f03f713cff014bde9b48de668c58cfb381 /hosts/common | |
parent | fb57a0ecd1776724557eb406105b2bce00090c93 (diff) | |
download | nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.tar nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.tar.gz nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.tar.bz2 nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.tar.lz nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.tar.xz nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.tar.zst nix-ac970a5e9cfe4527097a61ede5bc6d3c16963bb8.zip |
Create tftp symlinks in /etc
Diffstat (limited to 'hosts/common')
-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 = { |