Commit daa3e2dcb497

Vincent Demeester <vincent@sbr.pm>
2017-12-10 16:52:33
Switch to fish shell and add python dev setup
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent d55574f
configuration/custom-packages.nix
@@ -28,7 +28,7 @@
 			}) {};
 		in {
 			inherit (masterUnstablePkgs) docker docker-edge docker-proxy containerd runc tini;
-			inherit (unstablePkgs) keybase ipfs mpv docker-compose docker-machine doctl vndr emacs ledger-cli youtube-dl go hasklig i3lock-color certstrap;
+			inherit (unstablePkgs) keybase ipfs mpv docker-compose docker-machine doctl vndr emacs ledger-cli youtube-dl go hasklig i3lock-color certstrap pipenv;
 			#inherit (unstablePkgs) keybase ipfs mpv docker-compose docker-machine doctl vndr emacs ledger-cli firefox google-chrome-stable youtube-dl go hasklig i3lock-color certstrap;
 			inherit (sbrPkgs) dobi ape tuck clasp;
 		};
configuration/users.nix
@@ -8,7 +8,7 @@
 				uid = 1000;
 				createHome = true;
 				extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "libvirtd" "input" "audio" "video" "scanner" ];
-				shell = "/run/current-system/sw/bin/zsh";
+				shell = pkgs.fish;
 				initialPassword = "changeMe";
 				openssh.authorizedKeys.keys =
 					with import ../ssh-keys.nix; [ honshu wakasu kobe ];
machine/ehime.nix
@@ -8,6 +8,7 @@
 			../configuration/common.nix
 			../profiles/desktop.nix
 			../profiles/dev.nix
+			../profiles/dev.python.nix
 			../profiles/dockerization.nix
 			../location/home.nix
 			../profiles/avahi.nix
profiles/default.nix
@@ -3,6 +3,7 @@
 {
 	programs = {
 		 zsh.enable = true;
+		 fish.enable = true;
 	};
 	environment = {
 		variables = {
@@ -21,6 +22,7 @@
 				vim
 				wget
 				zsh
+				fish
 		];
 	};
 	i18n = {
profiles/dev.python.nix
@@ -0,0 +1,10 @@
+# Configuration for python dev machine
+
+{ configs, pkgs, ...}:
+
+{
+	environment.systemPackages = with pkgs; [
+		python3
+		pipenv
+	];
+}
\ No newline at end of file