From 50c75cba1aa2941e225e784287024cdc31100823 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 17:29:14 +0200 Subject: SSH on Vali & Grub entry for windows on Vali --- vali.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/vali.nix b/vali.nix index feabb1ec..3590fc21 100644 --- a/vali.nix +++ b/vali.nix @@ -14,7 +14,14 @@ boot.loader.grub.enable = true; boot.loader.grub.version = 2; # Define on which hard drive you want to install Grub. - # boot.loader.grub.device = "/dev/sda"; + boot.loader.grub.device = "/dev/sdb"; + + boot.loader.grub.extraEntriesBeforeNixos = true; + boot.loader.grub.extraEntries = '' + menuentry "Windows" { + chainloader hd(0,1)+1 + } + ''; # networking.hostName = "nixos"; # Define your hostname. networking.hostId = "03dda86d"; @@ -36,7 +43,7 @@ # List services that you want to enable: # Enable the OpenSSH daemon. - # services.openssh.enable = true; + services.openssh.enable = true; # Enable CUPS to print documents. # services.printing.enable = true; -- cgit v1.2.3