[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] Importing a .nix.gpg file?
From:       Eelco Dolstra <eelco.dolstra () logicblox ! com>
Date:       2016-06-15 11:06:08
Message-ID: bd914535-98ba-e695-1661-43fb21d49840 () logicblox ! com
[Download RAW message or body]

Hi,

On 06/12/2016 12:34 PM, Michal Rus wrote:

> in my nixos-config, I've got wifi-passwords.nix.gpg (the rest of the
> config is publicly available), and what I'd like to do is:
> 
>     import ./wifi-passwords.nix.gpg;
> 
> Or:
> 
>     imports = [ ./wifi-passwords.nix.gpg ];
> 
> … somewhere in configuration.nix. And when issuing `nixos-rebuild
> switch`, GnuPG would be used to decrypt the file.
> 
> How can I achieve that? Was this discussed before (I can't find any
> mentions)? May I post a feature request in an issue or will it be
> rejected?

I implemented this a while ago, but it's not in Nix master:
https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg17545.html

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic