mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
20 lines
345 B
Nix
20 lines
345 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.myConfig.shell;
|
|
in
|
|
{
|
|
imports = [
|
|
./starship.nix
|
|
./enhancement.nix
|
|
];
|
|
|
|
options.myConfig.shell = {
|
|
bash.enable = lib.mkEnableOption "";
|
|
zsh.enable = lib.mkEnableOption "";
|
|
};
|
|
|
|
config = {
|
|
programs.bash.enable = cfg.bash.enable;
|
|
programs.zsh.enable = cfg.zsh.enable;
|
|
};
|
|
}
|