You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
638 B
38 lines
638 B
{ 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;
|
|
};
|
|
}
|
|
|