Re: [Nix-dev] Some NixOS beginner questions...

2014-04-05 Thread Ben Franksen
Pablo Costa wrote: (3) I love the declarative approach to system configuration. However, for a newcomer it is hard to find out how to configure his favorite packages. What options are there and how can I set them? Is looking at the 'sources' (for the package's nix expressions) the only way?

Re: [Nix-dev] Some NixOS beginner questions...

2014-04-05 Thread Ben Franksen
Eelco Dolstra wrote: On 30/03/14 23:01, Ben Franksen wrote: (2) It seems impossible to install NixOS w/o installing the boot loader. You can set: boot.loader.grub.device = nodev; to prevent the installation of GRUB in the MBR while still generating a GRUB configuration in /boot

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-31 Thread Edward Tjörnhammar
On Sun, Mar 30, 2014 at 11:01:35PM +0200, Ben Franksen wrote: Hi Everyone Hello fellow newbie, I just wanted to give you a heads up that I, as a fellow newbie, created a completely superfluous little helper script called nixin[1] which aggregates some common commands. It's probably better to

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-31 Thread Eelco Dolstra
Hi, On 30/03/14 23:01, Ben Franksen wrote: (2) It seems impossible to install NixOS w/o installing the boot loader. You can set: boot.loader.grub.device = nodev; to prevent the installation of GRUB in the MBR while still generating a GRUB configuration in /boot that might be used for

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-31 Thread Kirill Elagin
On Mon, Mar 31, 2014 at 2:22 AM, Ben Franksen ben.frank...@online.dewrote: Then I do `nix-env -i` (or whatever I need) with `-f path_to_my_copy_of_nixpkgs`. That tells Nix to use _my_ expressions. In case of `nixos-rebuild` there is `-I` flag. As I said, I really like the declarative

[Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Ben Franksen
Hi Everyone I am new to NixOS (but not to Linux), just installed the stable (13.10) version and have a number of questions/comments. (1) Installation with USB stick failed during the first reboot with waiting for /dev/sdb1 to appear.. (Also, the 'boot form harddisk' entry in the

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Ben Franksen
Ben Franksen wrote: (4) How do I fix something if it is broken? Note I don't want to upgrade my whole NixOS configuration to the unstable branch (as all the documentation suggests), just make one or two fixes in certain packages (e.g. the nedit package is currently broken, when starting the

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Kirill Elagin
On Mon, Mar 31, 2014 at 1:01 AM, Ben Franksen ben.frank...@online.dewrote: (2) It seems impossible to install NixOS w/o installing the boot loader. Hm, boot.loader.grub.enable = false; ? (3) I love the declarative approach to system configuration. However, for a newcomer it is hard to

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Kirill Elagin
On Mon, Mar 31, 2014 at 1:35 AM, Kirill Elagin kirela...@gmail.com wrote: You'll have to look it up in `pkgs/top-level/all-packages.nix`. Either clone the nixpkgs repository or you can find a copy at `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`. Oh, and there is also `nix-env

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Ben Franksen
Kirill Elagin wrote: On Mon, Mar 31, 2014 at 1:01 AM, Ben Franksen ben.frank...@online.dewrote: (2) It seems impossible to install NixOS w/o installing the boot loader. Hm, boot.loader.grub.enable = false; Nope, that's what I tried first, of course, nixos-install complains that you

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Pablo Costa
(3) I love the declarative approach to system configuration. However, for a newcomer it is hard to find out how to configure his favorite packages. What options are there and how can I set them? Is looking at the 'sources' (for the package's nix expressions) the only way? On NixOS command

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Eelco Dolstra
Hi, On 30/03/14 23:35, Kirill Elagin wrote: (4) How do I fix something if it is broken? Note I don't want to upgrade my whole NixOS configuration to the unstable branch (as all the documentation suggests), just make one or two fixes in certain packages (e.g. the nedit

Re: [Nix-dev] Some NixOS beginner questions...

2014-03-30 Thread Ben Franksen
Kirill Elagin wrote: On Mon, Mar 31, 2014 at 1:35 AM, Kirill Elagin kirela...@gmail.com wrote: You'll have to look it up in `pkgs/top-level/all-packages.nix`. Either clone the nixpkgs repository or you can find a copy at `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`. Oh,