From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanguy Le Carrour Subject: Changing user-account's shell Date: Wed, 17 Apr 2019 21:59:44 +0200 Message-ID: <20190417195944.v3duu4wzh7sqj7dk@melmoth> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGqio-0005IU-64 for help-guix@gnu.org; Wed, 17 Apr 2019 15:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGqim-0003KW-BM for help-guix@gnu.org; Wed, 17 Apr 2019 15:59:54 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:58057) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGqij-0003Hr-BV for help-guix@gnu.org; Wed, 17 Apr 2019 15:59:50 -0400 Received: from localhost (89-92-229-106.hfc.dyn.abo.bbox.fr [89.92.229.106]) (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 3104224000A for ; Wed, 17 Apr 2019 19:59:44 +0000 (UTC) Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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