aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/zsh.scm
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2022-09-09 17:57:30 +0200
committerRenken <renken@shione.net>2022-09-09 18:07:42 +0200
commit3084d6586919cf4129548cd59321553e3faffb04 (patch)
treecb305f75671821da49632d5e084dcdaf6489cab8 /nichijou/home/zsh.scm
parent06c53ccf953b7231af981ee04bedd9fc001a0f74 (diff)
downloadshione-3084d6586919cf4129548cd59321553e3faffb04.tar.gz
shione-3084d6586919cf4129548cd59321553e3faffb04.zip
home: custom packages list for foreign distros
Running on GNU/Linux Debian testing for example allows me to have access to more up-to-date and better maintained software compared to Guix when needed. For now, certain software will be installed through apt instead of Guix itself such as mpd, mpv and neovim. The user will have to manually check if Guix-installed packages are compatible with the apt-installed ones.
Diffstat (limited to 'nichijou/home/zsh.scm')
-rw-r--r--nichijou/home/zsh.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/nichijou/home/zsh.scm b/nichijou/home/zsh.scm
index 11f973c..fc15186 100644
--- a/nichijou/home/zsh.scm
+++ b/nichijou/home/zsh.scm
@@ -6,9 +6,13 @@
#:use-module (guix gexp)
#:use-module (ice-9 optargs))
-(define-public packages
+(define packages
(list zsh-syntax-highlighting zsh-autosuggestions fzf))
+(define*-public (get-packages #:key (foreign-distro? #f))
+ (if foreign-distro?
+ (list) packages))
+
(define-public services
(list (service home-zsh-service-type
(home-zsh-configuration (xdg-flavor? #t)