From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Issues with my configuration Date: Tue, 04 Jul 2017 11:30:25 +0200 Message-ID: <87h8ys8s7i.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSKAI-00074h-NA for help-guix@gnu.org; Tue, 04 Jul 2017 05:30:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSKAE-00053m-LT for help-guix@gnu.org; Tue, 04 Jul 2017 05:30:38 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dSKAE-00052n-6d for help-guix@gnu.org; Tue, 04 Jul 2017 05:30:34 -0400 In-reply-to: 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: Fredrik Salomonsson Cc: help-guix@gnu.org Hi Fredrik, > 1) Mounting a nfs disk. > I tried adding the nfs mount to file-systems. > >> (file-system >> (device "fafner:/srv/nfs4/Valhalla") >> (title 'device) >> (mount-point "/media/Valhalla") >> (type "nfs4") >> (check? #f)) > > It works after I reconfigure guix > >> sudo guix system reconfigure /etc/config.scm > > But when I reboot, guixsd will not start it just hangs in the boot process. > Looks like a lot of services are failing. Do you want this to be mounted on boot? I don’t think there’s a way to express that a mount should happen after the network has come up (yet). You can only tell Guix not to try to mount the disk on boot. Use auto-mounting to mount the disk on demand at a later point. (We don’t have a service for autofs yet.) Your contributions in this area would be welcome! > 2) Change shell for user to zsh. > I followed https://gitlab.com/rain1/guix-wiki/wikis/FAQ on how to change > shell to zsh but getting this error when reconfiguring: > >> guix system: error: failed to load '/etc/config.scm': >> ice-9/boot-9.scm:2795:6: In procedure resolve-interface: >> ice-9/boot-9.scm:2795:6: no code for module (gnu packages zsh) There is no module “(gnu packages zsh)”. “zsh” is now in “(gnu packages shells)”. > 3) Keyboard mapping. […] > The question is how do I translate this to GuixSD? Closest I could find in > the manual was about the X window, but didn't find anything that directly > matches what I want. Here’s what I do in my config: --8<---------------cut here---------------start------------->8--- (define dvorak-evdev (call-with-input-file "/etc/config.d/evdev.conf" read-string)) […] (operating-system … (services … (modify-services %desktop-services (slim-service-type config => (slim-configuration (inherit config) (startx (xorg-start-command #:configuration-file (xorg-configuration-file #:extra-config (list dvorak-evdev)))))) …))) --8<---------------cut here---------------end--------------->8--- You can use something like that to add to the xorg configuration file. Just put your snippet in a file and slurp it up. > 4) /bin/env > In the manual, under Base Services > it > describes how to add env to /bin. I tried adding that snippet to my > services but I don't see env in /bin after I reconfigure. Not sure about this one. Your config looks okay to me. I’m not using this myself, so I don’t know if there’s a bug in our documentation. > I've also noticed some odd issues with my keyboards that are running the qmk > firmware . I've setup that my space > have a dual action, it's register as space when pressing and ctrl when > holding the key. But when using them in GuixSD it results in a 1s delay > every time I press space. Which gives a very sluggish impression when > typing in the terminal. It works fine if I disable that feature. I have not > experienced that issue in any other distro. Don’t know about this one. Is any kernel firmware loading mechanism involved or do you suspect an xorg configuration problem? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net