nixos/bash: re-introduce enable option
This commit is contained in:
parent
fa3cdb3220
commit
898ebf78ef
@ -23,15 +23,11 @@ let
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [ "programs" "bash" "enable" ] "")
|
||||
];
|
||||
|
||||
options = {
|
||||
|
||||
programs.bash = {
|
||||
|
||||
/*
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
description = ''
|
||||
@ -44,7 +40,6 @@ in
|
||||
'';
|
||||
type = lib.types.bool;
|
||||
};
|
||||
*/
|
||||
|
||||
shellAliases = lib.mkOption {
|
||||
default = { };
|
||||
@ -129,8 +124,7 @@ in
|
||||
|
||||
};
|
||||
|
||||
config = # lib.mkIf cfg.enable
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
programs.bash = {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user