summaryrefslogtreecommitdiff
path: root/modules/programs/bash.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-18 14:04:31 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-18 14:04:31 +0100
commit15f19af0bb8e127668926bc0b2d0f3120bf94f54 (patch)
treec9766b5eee4713a9e3b731f3638f67322a43cedc /modules/programs/bash.nix
parent732866d6b67a85d77e020029909546e5e55e72d4 (diff)
add environment.loginShell option
Diffstat (limited to 'modules/programs/bash.nix')
-rw-r--r--modules/programs/bash.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix
index 7a021ff..5317a23 100644
--- a/modules/programs/bash.nix
+++ b/modules/programs/bash.nix
@@ -56,6 +56,7 @@ in
pkgs.bash
];
+ environment.loginShell = mkDefault "${shell}/bin/bash -l";
environment.variables.SHELL = mkDefault "${shell}/bin/bash";
environment.etc."bashrc".text = ''