summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@praseodym.org>2015-07-03 17:29:14 +0200
committerGregor Kleen <gkleen@praseodym.org>2015-07-03 17:29:14 +0200
commit50c75cba1aa2941e225e784287024cdc31100823 (patch)
tree0f61ab19d0881b57c9cbfc527141fe6bc042bc45
parente9f8f3473067368451cd47737bd52142b71cc49c (diff)
downloadnixos-50c75cba1aa2941e225e784287024cdc31100823.tar
nixos-50c75cba1aa2941e225e784287024cdc31100823.tar.gz
nixos-50c75cba1aa2941e225e784287024cdc31100823.tar.bz2
nixos-50c75cba1aa2941e225e784287024cdc31100823.tar.xz
nixos-50c75cba1aa2941e225e784287024cdc31100823.zip
SSH on Vali & Grub entry for windows on Vali
-rw-r--r--vali.nix11
1 files 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 @@
14 boot.loader.grub.enable = true; 14 boot.loader.grub.enable = true;
15 boot.loader.grub.version = 2; 15 boot.loader.grub.version = 2;
16 # Define on which hard drive you want to install Grub. 16 # Define on which hard drive you want to install Grub.
17 # boot.loader.grub.device = "/dev/sda"; 17 boot.loader.grub.device = "/dev/sdb";
18
19 boot.loader.grub.extraEntriesBeforeNixos = true;
20 boot.loader.grub.extraEntries = ''
21 menuentry "Windows" {
22 chainloader hd(0,1)+1
23 }
24 '';
18 25
19 # networking.hostName = "nixos"; # Define your hostname. 26 # networking.hostName = "nixos"; # Define your hostname.
20 networking.hostId = "03dda86d"; 27 networking.hostId = "03dda86d";
@@ -36,7 +43,7 @@
36 # List services that you want to enable: 43 # List services that you want to enable:
37 44
38 # Enable the OpenSSH daemon. 45 # Enable the OpenSSH daemon.
39 # services.openssh.enable = true; 46 services.openssh.enable = true;
40 47
41 # Enable CUPS to print documents. 48 # Enable CUPS to print documents.
42 # services.printing.enable = true; 49 # services.printing.enable = true;