[Nix-dev] Importing a .nix.gpg file?

Mateusz Czaplinski czapkofan at gmail.com
Sun Jun 19 23:50:11 CEST 2016


Do you plan to merge one of those solutions into Nix, or are there
some blocking issues? or is it no more and no less but lack of time?

/Mateusz.

On Wed, Jun 15, 2016 at 1:06 PM, Eelco Dolstra
<eelco.dolstra at logicblox.com> wrote:
> 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 at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list