From e38fec049d7bc3a01745aafea7b501a5b998dfc2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 18:17:16 +0200 Subject: Preliminary gkleen on vali & misc fixes to vali --- vali.nix | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'vali.nix') diff --git a/vali.nix b/vali.nix index e6d84512..0744f0db 100644 --- a/vali.nix +++ b/vali.nix @@ -14,12 +14,12 @@ 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/sdb"; + boot.loader.grub.devices = [ "/dev/sda" "/dev/sdb" ]; boot.loader.grub.extraEntriesBeforeNixOS = true; boot.loader.grub.extraEntries = '' menuentry "Windows" { - chainloader hd(0,1)+1 + chainloader (hd0,msdos1) } ''; @@ -36,9 +36,11 @@ # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget - # environment.systemPackages = with pkgs; [ - # wget - # ]; + environment.systemPackages = with pkgs; [ + git + zsh + vim + ]; # List services that you want to enable: @@ -58,9 +60,14 @@ # services.xserver.desktopManager.kde4.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - # users.extraUsers.guest = { - # isNormalUser = true; - # uid = 1000; - # }; + users.extraUsers.gkleen = { + isNormalUser = true; + uid = 1000; + name = "gkleen"; + extraGroups = [ "wheel" ]; + createHome = true; + home = "/home/gkleen"; + shell = "/run/current-system/sw/bin/zsh"; + }; } -- cgit v1.2.3