749 current 2024-06-15 16:05:25 24.11.20240615.24b048f 6.9.3-zen1 *
This commit is contained in:
parent
7df8db13d9
commit
b169d37282
7 changed files with 65 additions and 43 deletions
22
modules/home/apps/tools/ohmyposh/default.nix
Normal file
22
modules/home/apps/tools/ohmyposh/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.custom; let
|
||||
cfg = config.apps.tools.ohmyposh;
|
||||
in {
|
||||
options.apps.tools.ohmyposh = with types; {
|
||||
enable = mkBoolOpt false "Enable OhMyPosh";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.oh-my-posh = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
useTheme = "catppuccin";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue