all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Changing user-account's shell
@ 2019-04-17 19:59 Tanguy Le Carrour
  2019-04-18 14:45 ` Ludovic Courtès
       [not found] ` <87d0lkz5jw.fsf@ambrevar.xyz>
  0 siblings, 2 replies; 8+ messages in thread
From: Tanguy Le Carrour @ 2019-04-17 19:59 UTC (permalink / raw)
  To: help-guix

Hi Guix!

I'm trying to set my user's shell through the Guix configuration system,
but without success.

The syntax I use is:

    (use-package-modules ... shells)

    (operating-system
      ;; ...
      (users (cons (user-account
                    ;; ...
                    (shell (file-append fish "/bin/fish")))
               %base-user-accounts))

It's from `gnu/system/shadow.scm:112`.

I also found a slightly different syntax in thomassgn's config [1]:

    (shell #~(string-append #$bash "/bin/bash"))

… but it does not work either!

[1]: https://notabug.org/thomassgn/guixsd-configuration/src/master/config.scm


Am I doing something wrong?! Any help would be welcome!


-- 
Tanguy

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-19 21:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-17 19:59 Changing user-account's shell Tanguy Le Carrour
2019-04-18 14:45 ` Ludovic Courtès
2019-04-18 20:51   ` Tanguy Le Carrour
2019-04-19 12:04     ` Ludovic Courtès
2019-04-19 21:30       ` Tanguy Le Carrour
     [not found] ` <87d0lkz5jw.fsf@ambrevar.xyz>
2019-04-18 20:22   ` Tanguy Le Carrour
2019-04-19  6:53     ` Pierre Neidhardt
2019-04-19 21:24       ` Tanguy Le Carrour

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.