Re: [Nix-dev] NixOS: entry in configuration to list packages that should not be gc-ed

2015-12-10 Thread Eelco Dolstra
Hi, On 10/12/15 11:34, Freddy Rietdijk wrote: > There are a bunch of packages I would always like to have available in the Nix > store, but that I do not want directly in my primary environment. These > packages > I would like to specify in `/etc/nixos/configuration.nix` so that on a rebuild >

[Nix-dev] How do you manage bare-metal local servers with nixops

2015-12-10 Thread rohit yadav
Hi All, I have few server running NixOS manually configured. Nix already provides a convenient way but a single config file to deploy services to each server would be great. NixOps if I understand correctly is an initiative in that direction. However, from manual I did not understand as how to

Re: [Nix-dev] nixos-in-place - Install NixOS on top of any Linux distro

2015-12-10 Thread Denis Ivanchik
I want to try NixOS as the OpenVZ container also. But wiki page is broken. Did you try NixOS as the OVZ container? About nixos-in-place.. I think need to focus on the 1-2 popular VPS distros, not more. Which distro most popular on the VPS? Debian(Ubuntu), Centos. Why? If i want the NixOS then I

Re: [Nix-dev] nixos-in-place - Install NixOS on top of any Linux distro

2015-12-10 Thread Jakob Gillich
Impressive, thanks for this! Also wondering if it would work on OpenVZ? Oh and a switch to simply wipe the old system could be useful. One can always redeploy the old OS if something goes wrong. On Wed, Dec 9, 2015, at 08:59 PM, jeaye wrote: > Folks, > > In hopes of getting NixOS onto

Re: [Nix-dev] nixos-in-place - Install NixOS on top of any Linux distro

2015-12-10 Thread Denis Ivanchik
Good idea, Jeaye. Right I understood that you mean VPS under KVM? -- With best wishes. Denis. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How do you manage bare-metal local servers with nixops

2015-12-10 Thread Christoph Hrdinka
Hi Rohit! You can use nixops to deploy to any server running ssh. All you have to do is install a basic NixOS system with opensshd enabled on your target server. Then tell nixops the hostname/ip address of the new server via `deployment.targetHost`. Nixops will evaluate any nix expression you

Re: [Nix-dev] nixos-in-place - Install NixOS on top of any Linux distro

2015-12-10 Thread jeaye
On Thu, Dec 10, 2015 at 12:22:58PM +0300, Denis Ivanchik wrote: >Right I understood that you mean VPS under KVM? nixos-in-place doesn't distinguish between machines running under KVM, real hardware, or anything else; it should work regardless. >I want to try NixOS as the OpenVZ container

[Nix-dev] Which is the best way to reload all network configurations? (dhcpclient etc)

2015-12-10 Thread Marco Maggesi
Hi, I'm not confident with the systemd infrastructure. Which is the best way to shutdown/restart/reload the whole network infrastructure? (interfaces, dhcpclient, etc)? Thanks, Marco ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] NixOS: entry in configuration to list packages that should not be gc-ed

2015-12-10 Thread Freddy Rietdijk
Dear Nixers, There are a bunch of packages I would always like to have available in the Nix store, but that I do not want directly in my primary environment. These packages I would like to specify in `/etc/nixos/configuration.nix` so that on a rebuild these are always available without

Re: [Nix-dev] nixos-in-place - Install NixOS on top of any Linux distro

2015-12-10 Thread jeaye
On Thu, Dec 10, 2015 at 10:51:48AM +0100, Jakob Gillich wrote: > Oh and a switch to simply wipe the old system could be useful. One can > always redeploy the old OS if something goes wrong. A switch to clear the old system is a good idea; I think that can be done without too much difficulty.