[Nix-dev] Re: environment.systemPackages
Yury G. Kudryashov
urkud+nix at ya.ru
Sat Mar 5 13:16:16 CET 2011
Benjamin Franksen wrote:
> services.ntp.servers = [ "charm.acc.bessy.de" ];
>
> services.xserver.videoDriver = "vesa";
> services.xserver.enable = true;
> services.xserver.desktopManager.kde4.enable = true;
> services.xserver.displayManager.kdm.enable = true;
> services.xserver.autorun = true;
> services.xserver.desktopManager.default = "kde4";
> services.xserver.windowManager.xmonad.enable = true;
Use
services = {
ntp.servers = ...;
xserver = {
...;
};
}
instead. AFAIR, it is illegal to have a.b = ...; a.c = ...; in nix.
More information about the nix-dev
mailing list