summaryrefslogtreecommitdiff
path: root/modules/environment
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-10-31 15:02:36 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-10-31 16:00:03 +1100
commit1588cb2e997fb37a4eab78da13808faf49df903f (patch)
tree5aaa8119b1d71ca486a4e56af720ca3dbf9f1598 /modules/environment
parentb379bd4d872d159e5189053ce9a4adf86d56db4b (diff)
environment: remove misleading `environment.loginShell` option
Diffstat (limited to 'modules/environment')
-rw-r--r--modules/environment/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix
index 00d58c0..994c77a 100644
--- a/modules/environment/default.nix
+++ b/modules/environment/default.nix
@@ -18,6 +18,11 @@ in
{
imports = [
(mkRenamedOptionModule ["environment" "postBuild"] ["environment" "extraSetup"])
+ (mkRemovedOptionModule [ "environment" "loginShell" ] ''
+ This option was only used to change the default command in tmux.
+
+ This has been removed in favour of changing the default command or default shell in tmux directly.
+ '')
];
options = {
@@ -74,12 +79,6 @@ in
'';
};
- environment.loginShell = mkOption {
- type = types.str;
- default = "$SHELL -l";
- description = "Configure default login shell.";
- };
-
environment.variables = mkOption {
type = types.attrsOf (types.either types.str (types.listOf types.str));
default = {};