help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing user-account's shell


From: Tanguy Le Carrour
Subject: Re: Changing user-account's shell
Date: Thu, 18 Apr 2019 22:51:31 +0200
User-agent: NeoMutt/20180716

Le 04/18, Ludovic Courtès a écrit :
> Tanguy Le Carrour <address@hidden> skribis:
> > I'm trying to set my user's shell through the Guix configuration system,
> > but without success.
> > […]
> >       (users (cons (user-account
> >                     ;; ...
> >                     (shell (file-append fish "/bin/fish")))
> >                %base-user-accounts))
> > […] 
> Could you tell us what command you run and what error message you got?
> At first sight this looks good to me.

I run `sudo -E guix system reconfigure my_config.scm` and I don't get
any error message.

The "funny" thing is, if I add a second user to the system, setting
Fish as its default shell, it's added with Fish as its default shell!

If I remove `(shell (file-append fish "/bin/fish"))` from the newly
created account and re-run `guix system reconfigure`, the shell is still
Fish.

If I add `(shell (file-append bash "/bin/bash"))` to the newly
created account and re-run `guix system reconfigure`, the shell is still
Fish.

Bug or feature?!

Regards

-- 
Tanguy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]