diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-18 14:04:31 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-18 14:04:31 +0100 |
| commit | 15f19af0bb8e127668926bc0b2d0f3120bf94f54 (patch) | |
| tree | c9766b5eee4713a9e3b731f3638f67322a43cedc /modules/environment | |
| parent | 732866d6b67a85d77e020029909546e5e55e72d4 (diff) | |
add environment.loginShell option
Diffstat (limited to 'modules/environment')
| -rw-r--r-- | modules/environment/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix index 5644264..d5cd419 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -60,6 +60,14 @@ in { description = "List of additional package outputs to be symlinked into <filename>/run/current-system/sw</filename>."; }; + environment.loginShell = mkOption { + type = types.str; + default = "$SHELL"; + description = '' + Configure default login shell. + ''; + }; + environment.variables = mkOption { type = types.attrsOf (types.either types.str (types.listOf types.str)); default = {}; |
