File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 6262 default = config . pkgs . starship ; # Or self'.packages.starship, assuming you use flake parts
6363 } ;
6464 } ;
65+ pay-respects = {
66+ enable = lib . mkEnableOption "pay-respects" ;
67+ package = lib . mkOption {
68+ type = lib . types . package ;
69+ default = config . pkgs . pay-respects ;
70+ } ;
71+ flags = lib . mkOption {
72+ type = with lib . types ; listOf str ;
73+ default = [ ] ;
74+ } ;
75+ } ;
6576 zoxide = {
6677 enable = lib . mkEnableOption "zoxide" ;
6778 package = lib . mkOption {
198209 ".zshrc" =
199210 let
200211 zoxide-flags = lib . concatStringsSep " " cfg . integrations . zoxide . flags ;
212+ pay-respects-flags = lib . concatStringsSep " " cfg . integrations . pay-respects . flags ;
201213 ing = cfg . integrations ;
202214 in
203215 lib . mkOption {
244256 ( lib . optionalString ing . atuin . enable ''eval "$(atuin init zsh)"'' )
245257 ( lib . optionalString ing . oh-my-posh . enable ''eval "$(oh-my-posh init zsh)"'' )
246258 ( lib . optionalString ing . zoxide . enable ''eval "$(zoxide init zsh ${ zoxide-flags } )"'' )
259+ ( lib . optionalString ing . pay-respects . enable ''eval "$(pay-respects zsh ${ pay-respects-flags } )"'' )
247260 ( lib . optionalString ing . starship . enable ''eval "$(starship init zsh)"'' )
248261
249262 "# History"
285298 ++ lib . optional ing . zoxide . enable ing . zoxide . package
286299 ++ lib . optional ing . oh-my-posh . enable ing . oh-my-posh . package
287300 ++ lib . optional ing . starship . enable ing . starship . package
301+ ++ lib . optional ing . pay-respects . enable ing . pay-respects . package
288302 ++ lib . optional cfg . completion . enable config . pkgs . nix-zsh-completions
289303 ++ lib . optional cfg . completion . extraCompletions config . pkgs . zsh-completions
290304 ++ lib . optional cfg . completion . fuzzySearch config . pkgs . zsh-fzf-tab ;
You can’t perform that action at this time.
0 commit comments