diff --git a/radix/home/services/shells.scm b/radix/home/services/shells.scm index 3311313..58631ea 100644 --- a/radix/home/services/shells.scm +++ b/radix/home/services/shells.scm @@ -67,8 +67,12 @@ (define fish-env-vars? alist?) (define fish-aliases? alist?) +(define (fish-plugin? x) + (and (package? x) + (string-prefix? "fish-" (package-name x)))) + (define fish-plugins? - (list-of package?)) + (list-of fish-plugin?)) (define (serialize-fish-abbreviations field-name val) #~(string-append @@ -153,7 +157,8 @@ end\n\n") home-fish-configuration-fields))))) (define (fish-profile-service config) - (list (home-fish-configuration-package config))) + (cons* (home-fish-configuration-package config) + (home-fish-configuration-plugins config))) (define-configuration/no-serialization home-fish-extension (config