aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shell/default.nix
blob: c2eada9d0055f897bddeba329c3121df1a1d0c53 (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
25
26
27
28
{ lib, pkgs, ... }:

{
	imports = [
		./bash
		./zsh
	];

	options.shell = {
		default = lib.mkOption {
			type = lib.types.enum [
				"bash"
				"zsh"
			];
			description = "Default shell.";
		};

		command = lib.mkOption {
			type = lib.types.str;
			description = "Command for the default shell.";
		};

		alias = lib.mkOption {
			type = lib.types.attrs;
			description = "Shell aliases.";
		};
	};
}