From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#26566: Swap partition on GuixSD Date: Wed, 19 Apr 2017 16:53:35 +0000 Message-ID: <20170419165335.x6rqk2th3iorhtf7@abyayala> References: <20170417201611.6e920b4f@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0sro-0007zS-8A for bug-guix@gnu.org; Wed, 19 Apr 2017 12:54:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0sri-0004Fu-Dd for bug-guix@gnu.org; Wed, 19 Apr 2017 12:54:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0sri-0004Fo-6s for bug-guix@gnu.org; Wed, 19 Apr 2017 12:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0sri-0005S0-0l for bug-guix@gnu.org; Wed, 19 Apr 2017 12:54:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20170417201611.6e920b4f@riseup.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Quiliro Cc: 26566@debbugs.gnu.org Hi, Quiliro transcribed 0.4K bytes: > The sample file for a desktop configuration on > https://www.gnu.org/software/guix/manual/guix.html#System-Services > does not give an example of swap-devices. > > Is adding this line correct on the operating-system section in the > config.scm file if my swap partition is sda2?: > (swap-devices ("/dev/sda2")) That should be (swap-devices '("/dev/sda2")) but in theory the guix reconfigure would complain about this mistake. > Should then I run?: > guix system reconfigure /etc/config.scm Yes, if this is from within an already running system and not just at the start prior to "guix system init foo.scm" > -- > Saluton, > Quiliro > 0987631031 > > > > > -- PGP and more: https://people.pragmatique.xyz/ng0/