direnv and devenv integrated support experimental nginx test configuration sway and foot configuration updated created initial sddm configuration for login manager
28 lines
491 B
Nix
28 lines
491 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.myShells;
|
|
in
|
|
with lib; {
|
|
imports = [
|
|
./zsh.nix
|
|
./direnv.nix
|
|
./starship
|
|
];
|
|
options.myShells = {
|
|
enable = mkEnableOption "Enables the shell customisation module.";
|
|
useZsh = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
};
|
|
};
|
|
config = mkIf cfg.enable {
|
|
myShells = {
|
|
zsh.enable = cfg.useZsh;
|
|
prompts.starship.enable = true;
|
|
};
|
|
};
|
|
}
|