Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { pkgs ? import <nixpkgs>, ... }:
- let
- module = {
- };
- build = (import (pkgs.path + "/nixos/lib/eval-config.nix") {
- # TODO: Make system as a parameter
- system = "x86_64-linux";
- modules = [
- (pkgs.path + "/nixos/modules/installer/netboot/netboot-minimal.nix")
- module
- ];
- }).config.system.build;
- in
- pkgs.symlinkJoin {
- name = "netboot";
- paths = with build; [ netbootRamdisk kernel netbootIpxeScript ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement