Skip to content

Commit

Permalink
Add package option for bash, just for legacy..
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 2, 2024
1 parent 9c599a8 commit a8cdad5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions modules/home-manager/server/shell/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ lib, config, ... }:
{
lib,
pkgs,
config,
...
}:
{
imports = [
# ./dprint
Expand All @@ -19,10 +24,13 @@
./zellij.nix
];

options.shell = lib.mkOption {
type = lib.types.str;
default = "bash";
description = "Choose which shell should be configured for the user";
options = {
shell = lib.mkOption {
type = lib.types.str;
default = "bash";
description = "Choose which shell should be configured for the user";
};
programs.bash.package = lib.mkPackageOption pkgs "bash" { };
};

config = {
Expand Down

0 comments on commit a8cdad5

Please sign in to comment.