direnv and devenv integrated support experimental nginx test configuration sway and foot configuration updated created initial sddm configuration for login manager
24 lines
533 B
Nix
24 lines
533 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.myShells.prompts.starship;
|
|
in
|
|
with lib; {
|
|
options = {
|
|
myShells.prompts.starship.enable = mkEnableOption "Enables starship prompts.";
|
|
myShells.prompts.starship.confPath = mkOption {
|
|
type = types.path;
|
|
default = ./presets/default.toml;
|
|
};
|
|
};
|
|
config = {
|
|
programs.starship = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
settings = builtins.fromTOML (builtins.readFile cfg.confPath);
|
|
};
|
|
};
|
|
}
|