diff options
author | Gregor Kleen <gkleen@praseodym.org> | 2015-07-03 17:29:14 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@praseodym.org> | 2015-07-03 17:29:14 +0200 |
commit | 50c75cba1aa2941e225e784287024cdc31100823 (patch) | |
tree | 0f61ab19d0881b57c9cbfc527141fe6bc042bc45 /vali.nix | |
parent | e9f8f3473067368451cd47737bd52142b71cc49c (diff) | |
download | nixos-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
Diffstat (limited to 'vali.nix')
-rw-r--r-- | vali.nix | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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; |