nixos/bash: re-introduce enable option

This commit is contained in:
nikstur 2025-07-27 21:19:00 +02:00
parent fa3cdb3220
commit 898ebf78ef

View File

@ -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 = {