From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Few notes to 0.8 Date: Sun, 30 Nov 2014 00:06:44 +0300 Message-ID: <87k32dvhqz.fsf@gmail.com> References: <87ppc7106v.fsf@gnu.org> <87r3wm1aoq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XupEK-0005gI-II for guix-devel@gnu.org; Sat, 29 Nov 2014 16:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XupEB-00016x-Cr for guix-devel@gnu.org; Sat, 29 Nov 2014 16:07:00 -0500 In-Reply-To: <87r3wm1aoq.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 29 Nov 2014 11:57:25 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 (2014-11-29 14:57 +0300) wrote: [...] > I just put it in my config.scm: > > (define (console-layout-service layout) > (with-monad %store-monad > (return > (service > (document "Setup keyboard layout for console") > (provision '(console-layout)) > (start #~(lambda _ > (system* (string-append #kbd "/bin/loadkeys") #$layout)= )) > (stop #~(const #t)) > (respawn? #f))))) Hey, this is cool! I think it's worth adding it to the repo. --=20 Alex