From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Manage ssh public keys? Date: Fri, 10 Apr 2015 22:17:30 +0200 Message-ID: <87zj6fwxet.fsf@gnu.org> References: <87oamxpl4o.fsf@gnu.org> <877ftlnlr1.fsf@gnu.org> <87wq1ks571.fsf@gmail.com> <87bniwm5cy.fsf@gnu.org> 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]:49673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgfN5-0001KA-1g for guix-devel@gnu.org; Fri, 10 Apr 2015 16:17:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgfMw-0002Ts-Kj for guix-devel@gnu.org; Fri, 10 Apr 2015 16:17:46 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgfMw-0002To-HS for guix-devel@gnu.org; Fri, 10 Apr 2015 16:17:38 -0400 In-Reply-To: (Joe Hillenbrand's message of "Fri, 10 Apr 2015 09:47:30 -0700") 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: Joe Hillenbrand Cc: guix-devel@gnu.org Joe Hillenbrand skribis: > Something to keep in mind is what a user means when they add a "files" > argument to user-account. I take this to mean "I want the operating > system configurations to manage this file, not the user", which to me > means, clobber a file if it is already there and symlink it to > /gnu/store. Yes. > The question then is, what happens when the configuration changes from > having a "files" argument to not having one. What happens to the > links? Good point. I=E2=80=99d say we just remove the symlinks. > Also on the topic of a "files" option, what about managing a > collection of files, like a directory of dotfiles or ~/.emacs? Would > it be possible to use this option with something like "git-fetch"? It would be possible yes. Behind the scenes it would use gexp, so any object whose type has a =E2=80=9Cgexp compiler=E2=80=9D can be used (this i= ncludes , , and .) I=E2=80=99ll see what I can do if nobody beats me at it. Thanks, Ludo=E2=80=99.