[Nix-dev] after install problem

Roelof Wobben r.wobben at home.nl
Sun Apr 6 09:26:37 CEST 2014


Bjørn Forsman schreef op 5-4-2014 23:25:
> On 5 April 2014 22:41, Roelof Wobben <r.wobben at home.nl> wrote:
>> Roelof Wobben schreef op 5-4-2014 18:27:
>>> Hello,
>>>
>>> I booted from the minmal cd and installed according to the manual,
>>>
>>> On the configuration.nix I enabled X and KDE.
>>>
>>> But after the reboot it started up and I see the prompt.
>>> I tried startx but then I see a message file not found.
> What exactly was the error message? Or do you mean "command not found"
> when you tried to run startx?


yep, that was it.

>
> Could you post your configuration.nix file?

yes, I could as soon as I find out how I can pastebin that one from the 
prompt.


>
>> It looks if kde is not installed at all.
>>
>> systemctl kdm.service start gives a message that the kdm.service is not
>> found.
> AFAIK, there is no kdm.service. If you enabled KDM in
> configuration.nix and did "nixos-rebuild switch" then you should see
> that KDM is being run:

i enabled kdm and did nixos-install because the install manual says to 
do that step.


> $ systemctl status display-manager.service
> display-manager.service - X11 Server
>     Loaded: loaded
> (/nix/store/csbc3rnpq5c15399mkif6q4c4lqcvdph-unit/display-manager.service)
>     Active: active (running) since Sat 2014-04-05 15:11:04 CEST; 8h ago
>   Main PID: 2039 (kdm)
>     CGroup: name=systemd:/system/display-manager.service
>             ├─2039
> /nix/store/5vb0lf54bcbnzgzyd98xgd23fl047935-kde-workspace-4.11.5/bin/kdm
> -config /nix/store/71q80m00cq1lg5bxn3dxcq7d4vwgj9ci-kdmrc -nodaemon
>             └─2149
> /nix/store/rlvgd37g39qk4i1xn3i18m0r1wv5k72f-xorg-server-1.14.5/bin/X
> -ac -logverbose -verbose -terminate -logfile /var/log/X.0.log -config
> /nix/store/akcpdfvrzfbcrr70f662drxp1d2gihhp-xserver.conf :0 vt7
> -xkbdir /nix/store/46kmqqa76k81rfrfk3sn86pc57d8...
>
>> Is there a way I can install kde manually
> I'm pretty sure installing KDE with nix-env doesn't work, there are
> too many system wide dependencies. It has to be enabled in
> configuration.nix.
>
>> nix-env -i kde fails because there is not derivation called kde.
> Try "nix-env -qaP | grep kde" to get a list of packages. The first
> column is the attribute name, the second is the package name. You
> install stuff with "nix-env -i package-name" or "nix-env -iA
> attrname".
>
> Best regards,
> Bjørn Forsman
>



More information about the nix-dev mailing list