"with pkgs.lib.types; X" -> types.X
This commit is contained in:
parent
ec9ae91205
commit
b22e735d2b
@ -46,7 +46,7 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Shell script code used to initialise the shell prompt.
|
Shell script code used to initialise the shell prompt.
|
||||||
'';
|
'';
|
||||||
type = with pkgs.lib.types; lines;
|
type = types.lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.shellInit = mkOption {
|
environment.shellInit = mkOption {
|
||||||
@ -55,7 +55,7 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Shell script code called during login shell initialisation.
|
Shell script code called during login shell initialisation.
|
||||||
'';
|
'';
|
||||||
type = with pkgs.lib.types; lines;
|
type = types.lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.interactiveShellInit = mkOption {
|
environment.interactiveShellInit = mkOption {
|
||||||
@ -64,19 +64,19 @@ let
|
|||||||
description = ''
|
description = ''
|
||||||
Shell script code called during interactive shell initialisation.
|
Shell script code called during interactive shell initialisation.
|
||||||
'';
|
'';
|
||||||
type = with pkgs.lib.types; lines;
|
type = types.lines;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.enableBashCompletion = mkOption {
|
environment.enableBashCompletion = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
description = "Enable Bash completion for all interactive shells.";
|
description = "Enable Bash completion for all interactive shells.";
|
||||||
type = with pkgs.lib.types; bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.binsh = mkOption {
|
environment.binsh = mkOption {
|
||||||
default = "${config.system.build.binsh}/bin/sh";
|
default = "${config.system.build.binsh}/bin/sh";
|
||||||
example = "\${pkgs.dash}/bin/dash";
|
example = "\${pkgs.dash}/bin/dash";
|
||||||
type = with pkgs.lib.types; path;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
Select the shell executable that is linked system-wide to
|
Select the shell executable that is linked system-wide to
|
||||||
<literal>/bin/sh</literal>. Please note that NixOS assumes all
|
<literal>/bin/sh</literal>. Please note that NixOS assumes all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user