Skip to content

Commit

Permalink
Testing out NixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony Messerli committed Aug 16, 2016
1 parent 1482191 commit 9d8cca2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/linux.ipxe
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ item antergos ${space} Antergos
item architect ${space} Architect Linux
item coreos ${space} CoreOS
item gentoo ${space} Gentoo Linux
item nixos ${space} NixOS
item rancheros ${space} RancherOS
item scientific ${space} Scientific
item slackware ${space} Slackware
Expand Down
21 changes: 21 additions & 0 deletions src/nixos.ipxe
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!ipxe

# NixOS
# http://nixos.org/

:nixos_menu
menu NixOS
item nixos ${space} NixOS
choose nixos_version || goto nixos_exit
goto nixos
echo ${cls}

:nixos
kernel http://hydra.nixos.org/build/38603078/download/1/bzImage
initrd http://hydra.nixos.org/build/38603078/download/2/initrd
imgargs bzImage init=/nix/store/9kl7ms0g27qgfhl7pfaxjz284829ckic-nixos-system-nixos-16.09pre88601.bab8a2e/init loglevel=7
boot

:nixos_exit
clear menu
exit 0

0 comments on commit 9d8cca2

Please sign in to comment.