1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 08:17:01 +00:00

environment: remove misleading environment.loginShell option

This commit is contained in:
Michael Hoang 2024-10-31 15:02:36 +11:00
parent b379bd4d87
commit 1588cb2e99

View file

@ -18,6 +18,11 @@ in
{ {
imports = [ imports = [
(mkRenamedOptionModule ["environment" "postBuild"] ["environment" "extraSetup"]) (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 = { options = {
@ -74,12 +79,6 @@ in
''; '';
}; };
environment.loginShell = mkOption {
type = types.str;
default = "$SHELL -l";
description = "Configure default login shell.";
};
environment.variables = mkOption { environment.variables = mkOption {
type = types.attrsOf (types.either types.str (types.listOf types.str)); type = types.attrsOf (types.either types.str (types.listOf types.str));
default = {}; default = {};