diff options
author | Gregor Kleen <gkleen@praseodym.org> | 2015-07-03 18:17:16 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@praseodym.org> | 2015-07-03 18:17:16 +0200 |
commit | e38fec049d7bc3a01745aafea7b501a5b998dfc2 (patch) | |
tree | b682914531317e3330ab3ef56e9dbe493e10251b | |
parent | 6c206824663621ef8ba8017498febb8ad7c926e0 (diff) | |
download | nixos-e38fec049d7bc3a01745aafea7b501a5b998dfc2.tar nixos-e38fec049d7bc3a01745aafea7b501a5b998dfc2.tar.gz nixos-e38fec049d7bc3a01745aafea7b501a5b998dfc2.tar.bz2 nixos-e38fec049d7bc3a01745aafea7b501a5b998dfc2.tar.xz nixos-e38fec049d7bc3a01745aafea7b501a5b998dfc2.zip |
Preliminary gkleen on vali & misc fixes to vali
-rw-r--r-- | vali.nix | 25 |
1 files changed, 16 insertions, 9 deletions
@@ -14,12 +14,12 @@ | |||
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/sdb"; | 17 | boot.loader.grub.devices = [ "/dev/sda" "/dev/sdb" ]; |
18 | 18 | ||
19 | boot.loader.grub.extraEntriesBeforeNixOS = true; | 19 | boot.loader.grub.extraEntriesBeforeNixOS = true; |
20 | boot.loader.grub.extraEntries = '' | 20 | boot.loader.grub.extraEntries = '' |
21 | menuentry "Windows" { | 21 | menuentry "Windows" { |
22 | chainloader hd(0,1)+1 | 22 | chainloader (hd0,msdos1) |
23 | } | 23 | } |
24 | ''; | 24 | ''; |
25 | 25 | ||
@@ -36,9 +36,11 @@ | |||
36 | 36 | ||
37 | # List packages installed in system profile. To search by name, run: | 37 | # List packages installed in system profile. To search by name, run: |
38 | # $ nix-env -qaP | grep wget | 38 | # $ nix-env -qaP | grep wget |
39 | # environment.systemPackages = with pkgs; [ | 39 | environment.systemPackages = with pkgs; [ |
40 | # wget | 40 | git |
41 | # ]; | 41 | zsh |
42 | vim | ||
43 | ]; | ||
42 | 44 | ||
43 | # List services that you want to enable: | 45 | # List services that you want to enable: |
44 | 46 | ||
@@ -58,9 +60,14 @@ | |||
58 | # services.xserver.desktopManager.kde4.enable = true; | 60 | # services.xserver.desktopManager.kde4.enable = true; |
59 | 61 | ||
60 | # Define a user account. Don't forget to set a password with ‘passwd’. | 62 | # Define a user account. Don't forget to set a password with ‘passwd’. |
61 | # users.extraUsers.guest = { | 63 | users.extraUsers.gkleen = { |
62 | # isNormalUser = true; | 64 | isNormalUser = true; |
63 | # uid = 1000; | 65 | uid = 1000; |
64 | # }; | 66 | name = "gkleen"; |
67 | extraGroups = [ "wheel" ]; | ||
68 | createHome = true; | ||
69 | home = "/home/gkleen"; | ||
70 | shell = "/run/current-system/sw/bin/zsh"; | ||
71 | }; | ||
65 | 72 | ||
66 | } | 73 | } |