{ pkgs, lib, nodes, ... }: with lib; let installer = pkgs.nixos [ ./installer { _module.args = { target = nodes."client"; }; } ]; in { services.pixiecore = { enable = true; dhcpNoBind = true; port = 5080; mode = "boot"; kernel = "file://${installer.config.system.build.kernel}/bzImage"; initrd = "file://${installer.config.system.build.netbootRamdisk}/initrd"; cmdLine = concatStringsSep " " [ "init=${installer.config.system.build.toplevel}/init" "loglevel=4" "console=tty0" "console=ttyS1,57600n8" ]; openFirewall = true; }; }