[Nix-dev] Letsencrypt in open beta.

2015-12-04 Thread Guillaume Maudoux (Layus)
Hi,

Now that Let’s Encrypt[1] is in open beta, I would like to try it on my
server.
Has someone sucessfully used it on a NixOS server ?

I have seen that Domen Kožar pushed the realted python tools on nixpkgs[2].
Is someone working on integrating this tool into NixOS ?

Regards,

Guillaume (layus).

[1] https://letsencrypt.org/
[2]
https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/admin/letsencrypt/default.nix
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to write module outside the nixpkgs tree and integrated with nixos-rebuild

2015-12-04 Thread Guillaume Maudoux (Layus)
This is not the first time this question arises on the mailing list.

Where did you expect to find this information in the docs ?
This may be the ideal place to add the info.

G.

Le 04/12/15 06:18, rohit yadav a écrit :
> Thanks! This is exactly I was looking for. I should have looked more
> before posting this query.
>
> --
> Rohit
>
> On Thu, Dec 3, 2015 at 10:14 PM, Игорь Пашев  > wrote:
>
> 2015-12-04 6:12 GMT+03:00 rohit yadav  >:
> > Hi,
> >
> > How to write a NixOS module that is outside the nixpkgs tree and
> integrate
> > it with nixos-rebuild. I particularly want to define few
> services which
> > should be run in a particular order. I believe I can define them
> directly in
> > /etc/systemd/system folder (but this defeats the purpose of nix).
> >
>
> Use imports = [  ]; in /etc/nixos/configuration.nix
>
> https://nixos.org/wiki/NixOS:extend_NixOS
>
>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Letsencrypt in open beta.

2015-12-04 Thread Mayeu
Hi,

"Guillaume Maudoux (Layus)"  writes:

> I have seen that Domen Kožar pushed the realted python tools on nixpkgs[2].
> Is someone working on integrating this tool into NixOS ?

There is a start of discussion in an issue in the NixOps repository [1].

Regards,

[1] https://github.com/NixOS/nixops/issues/283

-- 
Mayeu a.k.a Matthieu
http://6x9.fr
GPG: A016 F2D8 0472 1186 1B33  A419 22B1 0496 B00D A693


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to write module outside the nixpkgs tree and integrated with nixos-rebuild

2015-12-04 Thread rohit yadav
Yes, it was mistake on my part. In NixCon someone proposed to remove the
current wiki because it is outdated. But I guess I should first try before
asking. I will post questions with more caution in future.

-Rohit

On Fri, Dec 4, 2015 at 2:39 AM, Guillaume Maudoux (Layus) <
layus...@gmail.com> wrote:

> This is not the first time this question arises on the mailing list.
>
> Where did you expect to find this information in the docs ?
> This may be the ideal place to add the info.
>
> G.
>
> Le 04/12/15 06:18, rohit yadav a écrit :
>
> Thanks! This is exactly I was looking for. I should have looked more
> before posting this query.
>
> --
> Rohit
>
> On Thu, Dec 3, 2015 at 10:14 PM, Игорь Пашев 
> wrote:
>
>> 2015-12-04 6:12 GMT+03:00 rohit yadav < 
>> rohityadav7...@gmail.com>:
>> > Hi,
>> >
>> > How to write a NixOS module that is outside the nixpkgs tree and
>> integrate
>> > it with nixos-rebuild. I particularly want to define few services which
>> > should be run in a particular order. I believe I can define them
>> directly in
>> > /etc/systemd/system folder (but this defeats the purpose of nix).
>> >
>>
>> Use imports = [  ]; in /etc/nixos/configuration.nix
>>
>> https://nixos.org/wiki/NixOS:extend_NixOS
>>
>
>
>
> ___
> nix-dev mailing 
> listnix-...@lists.science.uu.nlhttp://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to write module outside the nixpkgs tree and integrated with nixos-rebuild

2015-12-04 Thread rohit yadav
​I searched through google, "private nixos modules outside nixpkgs tree".
There was blog by Sander (
http://sandervanderburg.blogspot.com/2014/07/managing-private-nix-packages-outside.html).
I was assuming someone to have posted similar post for nixos module. In the
past wiki has been helpful but on several occasion found it to be broken.

I was using nixpkgs with ubuntu till now so did not have to deal with nixos
modules, and wasn't clear about the working of this. But now I truly
appreciate the beauty of NixOS. And especially with NixOps I believe it
would solve majority of my problems. In addition, with Hydra build farm I
can easily maintain my own private repo.

--
Rohit

On Fri, Dec 4, 2015 at 12:08 PM, Layus  wrote:

> Oh, it seems that you misunderstood me.
>
> My point is that that particular information (i.e. "How to add custom
> modules?") is not easy to find in the docs/wiki.
> I claim this based on the (relatively) big number of users asking that
> question on the mailing list and at NixCon.
>
> So I asked you to give examples of places where you looked for that piece
> of information (wiki, nixos man, eetc ?), and how you looked for it
> (google, nixos options, nixos.org search? what keywords you used, etc.).
> That way, I would know where to add the required explanations to help
> future users facing the same question.
>
> G.
>
>
> On 04/12/15 18:26, rohit yadav wrote:
>
> Yes, it was mistake on my part. In NixCon someone proposed to remove the
> current wiki because it is outdated. But I guess I should first try before
> asking. I will post questions with more caution in future.
>
> -Rohit
>
> On Fri, Dec 4, 2015 at 2:39 AM, Guillaume Maudoux (Layus) <
> layus...@gmail.com> wrote:
>
>> This is not the first time this question arises on the mailing list.
>>
>> Where did you expect to find this information in the docs ?
>> This may be the ideal place to add the info.
>>
>> G.
>>
>> Le 04/12/15 06:18, rohit yadav a écrit :
>>
>> Thanks! This is exactly I was looking for. I should have looked more
>> before posting this query.
>>
>> --
>> Rohit
>>
>> On Thu, Dec 3, 2015 at 10:14 PM, Игорь Пашев < 
>> pashev.i...@gmail.com> wrote:
>>
>>> 2015-12-04 6:12 GMT+03:00 rohit yadav < 
>>> rohityadav7...@gmail.com>:
>>> > Hi,
>>> >
>>> > How to write a NixOS module that is outside the nixpkgs tree and
>>> integrate
>>> > it with nixos-rebuild. I particularly want to define few services which
>>> > should be run in a particular order. I believe I can define them
>>> directly in
>>> > /etc/systemd/system folder (but this defeats the purpose of nix).
>>> >
>>>
>>> Use imports = [  ]; in /etc/nixos/configuration.nix
>>>
>>> https://nixos.org/wiki/NixOS:extend_NixOS
>>>
>>
>>
>>
>> ___
>> nix-dev mailing 
>> listnix-...@lists.science.uu.nlhttp://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to write module outside the nixpkgs tree and integrated with nixos-rebuild

2015-12-04 Thread Layus

Oh, it seems that you misunderstood me.

My point is that that particular information (i.e. "How to add custom 
modules?") is not easy to find in the docs/wiki.
I claim this based on the (relatively) big number of users asking that 
question on the mailing list and at NixCon.


So I asked you to give examples of places where you looked for that 
piece of information (wiki, nixos man, eetc ?), and how you looked for 
it (google, nixos options, nixos.org search? what keywords you used, etc.).
That way, I would know where to add the required explanations to help 
future users facing the same question.


G.

On 04/12/15 18:26, rohit yadav wrote:
Yes, it was mistake on my part. In NixCon someone proposed to remove 
the current wiki because it is outdated. But I guess I should first 
try before asking. I will post questions with more caution in future.


-Rohit

On Fri, Dec 4, 2015 at 2:39 AM, Guillaume Maudoux (Layus) 
> wrote:


This is not the first time this question arises on the mailing list.

Where did you expect to find this information in the docs ?
This may be the ideal place to add the info.

G.

Le 04/12/15 06:18, rohit yadav a écrit :

Thanks! This is exactly I was looking for. I should have looked
more before posting this query.

--
Rohit

On Thu, Dec 3, 2015 at 10:14 PM, Игорь Пашев
> wrote:

2015-12-04 6:12 GMT+03:00 rohit yadav
>:
> Hi,
>
> How to write a NixOS module that is outside the nixpkgs
tree and integrate
> it with nixos-rebuild. I particularly want to define few
services which
> should be run in a particular order. I believe I can define
them directly in
> /etc/systemd/system folder (but this defeats the purpose of
nix).
>

Use imports = [  ]; in /etc/nixos/configuration.nix

https://nixos.org/wiki/NixOS:extend_NixOS




___
nix-dev mailing list
nix-dev@lists.science.uu.nl 
http://lists.science.uu.nl/mailman/listinfo/nix-dev



___
nix-dev mailing list
nix-dev@lists.science.uu.nl 
http://lists.science.uu.nl/mailman/listinfo/nix-dev




___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to write module outside the nixpkgs tree and integrated with nixos-rebuild

2015-12-04 Thread Jakob Gillich
I'm also pretty new to Nix and in my experience, the manual is pretty good and 
covers a lot of topics, but it doesn't rank very well on Google. For example, 
when I search for "nixos containers" on Google, I get:

1. The manual entry from 14.12
2. The wiki page NixOS:Containers, which is rather short. The manual
   entry is much better, I'm not sure why this page even exists.
3. NixOps

The current manual is nowhere to be found, probably because it's just a
single page and gets outranked by pages that have the keywords higher
up. Maybe providing both the single page and the sections split to
single pages would improve that (that's how FreeBSD does it).


On Fri, Dec 4, 2015, at 07:08 PM, Layus wrote:
> Oh, it seems that you misunderstood me.
>
>
  My point is that that particular information (i.e. "How to add
  custom modules?") is not easy to find in the docs/wiki.
>
  I claim this based on the (relatively) big number of users asking
  that question on the mailing list and at NixCon.
>
>
  So I asked you to give examples of places where you looked for
  that piece of information (wiki, nixos man, eetc ?), and how you
  looked for it (google, nixos options, nixos.org search? what
  keywords you used, etc.).
>
  That way, I would know where to add the required explanations to
  help future users facing the same question.
>
>
  G.
>
>
  On 04/12/15 18:26, rohit yadav wrote:
>> Yes,
  it was mistake on my part. In NixCon someone proposed to
  remove the current wiki because it is outdated. But I guess I
  should first try before asking. I will post questions with
  more caution in future.
>>
>> -Rohit
>>
>> On Fri, Dec 4, 2015 at 2:39 AM,
  Guillaume Maudoux (Layus)  wrote:
>>> This is not the first
  time this question arises on the mailing list.
>>>
>>>
  Where did you expect to find this information in the docs
  ?
>>>
  This may be the ideal place to add the info.
>>>
>>>
  G.
>>>
>>> Le 04/12/15 06:18, rohit yadav a écrit :
 Thanks!

This is exactly I was looking for. I should have
looked more before posting this query.

 --
 Rohit

 On Thu, Dec 3, 2015 at
10:14 PM, Игорь Пашев
 wrote:
> 2015-12-04 6:12
GMT+03:00 rohit yadav
:
>
> Hi,
>
>
>
> How to write a NixOS module that is
outside the nixpkgs tree and integrate
>
> it with nixos-rebuild. I particularly
want to define few services which
>
> should be run in a particular order. I
believe I can define them directly in
>
> /etc/systemd/system folder (but this
defeats the purpose of nix).
>
>
>
> Use imports = [  ];
  in /etc/nixos/configuration.nix
>
> https://nixos.org/wiki/NixOS:extend_NixOS



 ___
nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>>
___
>>>
nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>
>
> _
> nix-dev mailing list nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev