Re: [Nix-dev] lighttpd service

2012-06-07 Thread Kirill Elagin
I think the right way to handle config files is the on used by xserver module. You provide a basic config, enough to run lighty in most well-trodden configurations, similar to configs included by other distros. And when someone needs an advanced config he just overwrites it completely with

Re: [Nix-dev] Linux kernel and acpi_call/bbswitch build

2012-06-07 Thread Kirill Elagin
Hello, You mean headers of other packages? I think, the best way to deal with this is applying a patch in your nix expr and opening a bug in upstream's tracker. -- Кирилл Елагин 2012/6/7 Michael Raskin 7c6f4...@mail.ru Hello. With recent Linux kernels it turns out

Re: [Nix-dev] nixos-install

2012-06-07 Thread Kirill Elagin
2012/5/10 Marco Maggesi magg...@math.unifi.it The directory /nix/var/nix/profiles/per-user/root is empty on my system. What is wrong? That's wrong. You are probably using old-style /etc/nixos stuff. Migrate to nix channels. -- Кирилл Елагин ___

[Nix-dev] Expressing dependencies on init scripts

2012-03-26 Thread Kirill Elagin
Please take a look at this bug that Lluís has just fixed: https://nixos.org/websvn/nix/nixos/trunk/modules/config/networking.nix?op=diffrev=33434peg=33434 . Of course this works now, but there is a deeper problem: Nix couldn't detect that this config referred to nscd's init-script. It seems to me

[Nix-dev] ksshaskpass

2012-03-22 Thread Kirill Elagin
I have no idea how to integrate ksshaskpass. Currently x11-ssh-askpass is hard-coded into 'nixos/modules/services/x11/display-managers/default.nix'. Should there be an option to choose which ssh-askpass program to use (I know that there exists at least one more such a program)? Where should this

[Nix-dev] [PATCH 1/2] Fix Firefox desktop item

2012-03-20 Thread Kirill Elagin
--- .../networking/browsers/firefox/wrapper.nix|4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 1b8fb79..a89db87 100644 ---

[Nix-dev] [PATCH] Fix xserver restart with cfg.driSupport32Bit

2012-03-15 Thread Kirill Elagin
--- modules/services/x11/xserver.nix |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/modules/services/x11/xserver.nix b/modules/services/x11/xserver.nix index d07ca53..c918d81 100644 --- a/modules/services/x11/xserver.nix +++ b/modules/services/x11/xserver.nix @@ -414,6

<    1   2   3