Advertisement
Guest User

Untitled

a guest
Jan 25th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. { pkgs ? import <nixpkgs>, ... }:
  2.  
  3. let
  4. module = {
  5. };
  6. build = (import (pkgs.path + "/nixos/lib/eval-config.nix") {
  7. # TODO: Make system as a parameter
  8. system = "x86_64-linux";
  9. modules = [
  10. (pkgs.path + "/nixos/modules/installer/netboot/netboot-minimal.nix")
  11. module
  12. ];
  13. }).config.system.build;
  14. in
  15.  
  16. pkgs.symlinkJoin {
  17. name = "netboot";
  18. paths = with build; [ netbootRamdisk kernel netbootIpxeScript ];
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement