guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manage ssh public keys?


From: Ludovic Courtès
Subject: Re: Manage ssh public keys?
Date: Fri, 10 Apr 2015 22:17:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Joe Hillenbrand <address@hidden> 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’d 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 “gexp compiler” can be used (this includes
<package>, <origin>, and <local-file>.)

I’ll see what I can do if nobody beats me at it.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]