Hello,
Mario Calcagno <[email protected]> skribis:
> I'm having some problem understanding services and how to define them,
> in particular I can't seem to understand to setup zsh as the login
> shell and the manual is not helping.
Just like you have ‘home-bash-service-type’, you would add (probably in
place of ‘home-bash-service-type’) something like:
(service home-zsh-service-type)
or, if you have custom config:
(service home-zsh-service-type
(home-zsh-configuration
(environment-variables '(("FORTYTWO" . "42")))))
Note that you still need to arrange so that you user shell is zsh, for
instance by invoking ‘chsh’: that part is not up to Guix Home.
> Another thing that I wanted to ask was if I should put sway in the
> home-environment or leave it to the host distro's package manager.
That I don’t know.
> PS: I'm using `guix home container home.scm` to test things, I don't
> know if it's important
It’s a good idea to do that, it helps check if everything would work as
intended.
HTH!
Ludo’.