[Nix-dev] after install problem
Bjørn Forsman
bjorn.forsman at gmail.com
Sat Apr 5 23:25:40 CEST 2014
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?
Could you post your configuration.nix file?
> 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:
$ 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