blob: 27a919a436fad8e9fe8cd5fb260b2fd280fc7078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, pkgs, ... }:
{
imports = [
./bash
./zsh
];
options.shell = {
default = lib.mkOption {
type = lib.types.str;
description = "Path to the default shell program.";
};
alias = lib.mkOption {
type = lib.types.attrs;
description = "Shell aliases.";
};
};
config = {
shell.default = lib.mkDefault "${pkgs.bash}/bin/bash"; # Set bash as default shell
shell.bash.enable = lib.mkDefault true; # Enable bash by default
};
}
|