help-guix
[Top][All Lists]
Advanced

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

Changing user-account's shell


From: Tanguy Le Carrour
Subject: Changing user-account's shell
Date: Wed, 17 Apr 2019 21:59:44 +0200
User-agent: NeoMutt/20180716

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



reply via email to

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