diff options
| -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; |
