Oliver Charles
3a1024478a
lightdm: Use xserver.nix environment variables when starting X
...
This reduces code duplication, but more importantly means that the
DRI modules can be found by X enabling hardware acceleration.
Close #249 ; the PR also refers to more about DRI modules.
2013-09-12 10:09:53 +02:00
Evgeny Egorochkin
7021b07a8d
Move the compose-cache code from kde4 to xsession since it is supposedly useful for all X-based stuff.
2013-08-26 17:06:05 +03:00
Rickard Nilsson
b0b5e08e86
Add some more missing uids/gids
2013-08-26 15:20:25 +02:00
Evgeny Egorochkin
aa150f5aea
KDE: fix config build when grub is used to generate boot menu, but isn't used as a loader.
2013-08-06 16:13:20 +03:00
Vladimír Čunát
ce54650b51
lightdm: remove unused reference to mesa drivers
...
I don't need them and llvm at all, for example.
2013-08-02 14:24:42 +02:00
Rickard Nilsson
462e4255fa
x11 session: Don't start pulseaudio if it already is running system-wide
2013-07-23 19:07:12 +02:00
Vladimír Čunát
0ad87ab46e
WARNING: history will change from now on (mesa updates)
...
Fix some paths set, drivers in mesa_drivers now, WIP.
2013-05-16 17:23:31 +02:00
Lluís Batlle i Rossell
4637f6d878
Removing unneded imports for the display-manager.
...
Discussed in
2e088aa277 (commitcomment-3074283)
2013-04-28 00:19:04 +04:00
Lluís Batlle i Rossell
b4af56d376
lightdm: improving a bit the indentation.
2013-04-22 23:32:11 +04:00
Oliver Charles
2e088aa277
lightdm: Initial expression for lightdm as the display-manager service (using default GTK greeter)
2013-04-22 23:32:10 +04:00
Mathijs Kwik
57dc4b9188
xsession: add config option to let systemd handle lid/power events
2013-04-04 22:19:22 +02:00
Mathijs Kwik
3c8d95f726
xsession: remove duplicate sourcing of /etc/profile
2013-04-04 22:19:22 +02:00
Lluís Batlle i Rossell
a9b3dbf8ea
Fixing the vaapiDrivers; it didn't work, with only one driver
2013-03-04 22:35:33 +01:00
Rickard Nilsson
b0f33f2052
Add options for setting theme and setup-script in KDM
2013-02-22 09:34:36 +01:00
Eelco Dolstra
8ef4074811
Use nss_myhostname from systemd
2013-02-04 15:50:37 +01:00
Lluís Batlle i Rossell
d1a9ccbaf4
Changing ensureDir -> mkdir -p
...
(told by shlevy)
2013-01-30 20:58:00 +01:00
Lluís Batlle i Rossell
d50b22e882
Adding vaapi drivers to nixos
...
Enabling nvidia and intel drivers by default. I tried both,
and they work fine with "vlc --ffmpeg-hw".
2013-01-30 20:40:55 +01:00
Eelco Dolstra
4d983d4955
Rename ‘system.build.systemd’ to ‘systemd.package’
...
This makes it cheaper to test a new systemd and is more consistent
with other modules.
2013-01-16 13:17:57 +01:00
Peter Simons
70e6e19f54
xsession: source /etc/profile at the beginning of the script
...
The xsession script runs services that depend on a sane environment. Gpg-agent, for
example, runs the program "pinentry-gtk-2" to obtain the password to unlock GnuPG
and SSH keys. That program will display only gibberish unless $FONTCONFIG_FILE is
configured properly. Instead of configuring these variables explicitly one by one,
we just source /etc/profile, which contains the appropriate @shellInit@ code.
2012-11-05 23:07:53 +01:00
Eelco Dolstra
2d9258da67
auto.nix: Use SLiM to implement auto-logins
2012-10-24 12:31:02 +02:00
Eelco Dolstra
7d26dde69a
Oops, systemd-inhibit should be exec'ed
2012-10-04 21:58:20 -04:00
Eelco Dolstra
db2a4d144e
xsession: Set a inhibitor to prevent systemd from handling the power button and lid
2012-10-04 21:44:24 -04:00
Eelco Dolstra
cdc3604a7d
kdm: Do a poweroff, not a halt
2012-08-20 11:11:10 -04:00
Eelco Dolstra
490ce3a230
PAM: Rename ownDevices to startSession
...
Logind sessions are more generally useful than for device ownership.
For instances, ssh logins can be put in their own session (and thus
their own cgroup).
2012-08-17 13:48:22 -04:00
Eelco Dolstra
676157f1e7
slim.nix: Remove the hideCursor option because it doesn't work
2012-08-17 13:42:52 -04:00
Eelco Dolstra
7d958dcdd1
Drop Upstart references
2012-08-17 11:02:12 -04:00
Eelco Dolstra
44d091674b
Merge branch 'master' of github.com:NixOS/nixos into systemd
...
Conflicts:
modules/config/networking.nix
modules/services/networking/ssh/sshd.nix
modules/services/ttys/agetty.nix
modules/system/boot/stage-2-init.sh
modules/system/upstart-events/shutdown.nix
2012-07-16 17:27:11 -04:00
Eelco Dolstra
73532c3855
Global replace /var/run/current-system -> /run/current-system
2012-07-16 11:34:21 -04:00
Eelco Dolstra
2526afb1c7
Don't use ConsoleKit
2012-06-19 16:22:26 -04:00
Mathijs Kwik
3bbaa3b60c
slim display manager: enabled auto_login setting
...
useful for demo/kiosk mode
svn path=/nixos/trunk/; revision=33774
2012-04-13 14:52:25 +00:00
Eelco Dolstra
53bd25c7fa
* Automatically start VBoxClient-all when the X session starts. This
...
allows seamless windows, resizing of the desktop, cut and paster,
etc.
svn path=/nixos/trunk/; revision=33131
2012-03-16 01:29:51 +00:00
Eelco Dolstra
e348fbf7a4
* Allow logging in with an empty password in KDE. This is consistent
...
with SLiM and local console logins.
svn path=/nixos/trunk/; revision=30339
2011-11-08 18:50:42 +00:00
Lluís Batlle i Rossell
c7f568dc06
Fixing the xserver.enableTCP for kdm.
...
svn path=/nixos/trunk/; revision=30056
2011-10-27 15:43:13 +00:00
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Eelco Dolstra
4790c147bf
* Revert r28400 because ConsoleKit got reverted to 0.4.1.
...
svn path=/nixos/trunk/; revision=28587
2011-08-15 14:48:32 +00:00
Eelco Dolstra
7e2ea4df32
* Xsession script: set the current directory to $HOME.
...
svn path=/nixos/trunk/; revision=28511
2011-08-12 10:04:43 +00:00
Eelco Dolstra
45d8c418b5
* Some hackery to get ConsoleKit to work with the SLIM and "auto"
...
display managers. This was broken due to a change in ConsoleKit
0.4.2:
https://bugs.freedesktop.org/show_bug.cgi?id=28377
Using ConsoleKit's pam-ck-connector helps in that it creates local
sessions; however, they're not marked as active because the
x11-display-device property is not set. As a workaround, calling
ck-launch-session seems to work.
More details:
https://bugs.gentoo.org/show_bug.cgi?id=336634
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598150
https://bugzilla.redhat.com/show_bug.cgi?id=585952
svn path=/nixos/trunk/; revision=28400
2011-08-08 19:28:17 +00:00
Eelco Dolstra
3b374ea326
* Move PulseAudio initialisation below the re-exec to prevent it from
...
being started twice.
svn path=/nixos/trunk/; revision=27968
2011-07-26 18:34:10 +00:00
Eelco Dolstra
3fdc209978
* Start PulseAudio from the X session script.
...
svn path=/nixos/trunk/; revision=27967
2011-07-26 18:16:24 +00:00
Eelco Dolstra
c45356769e
* /var/lib/kdm needs to be owned by ‘kdm’.
...
* Set KDEDIRS properly in kdm.
svn path=/nixos/trunk/; revision=27817
2011-07-18 12:36:46 +00:00
Eelco Dolstra
6490c6ba21
* Don't use /tmp/kdm as the home directory for the kdm user - sounds
...
insecure.
* Create /var/lib/kdm.
* In kdmrc, set BootManager to "Grub2" if we're using GRUB 2.
svn path=/nixos/trunk/; revision=27805
2011-07-17 10:52:40 +00:00
Eelco Dolstra
8f5f70b292
* We don't really need a display manager on the installation CD. Just
...
log in as root automatically.
svn path=/nixos/trunk/; revision=26014
2011-02-17 14:38:02 +00:00
Yury G. Kudryashov
f58efe3336
Add kdm user. Kdm doesn't work here without kdm user
...
svn path=/nixos/trunk/; revision=24835
2010-11-24 10:45:34 +00:00
Eelco Dolstra
f9a62453b0
* Set KDEDIRS in kdm, otherwise it can't find the wallpaper.
...
svn path=/nixos/trunk/; revision=24282
2010-10-14 12:11:37 +00:00
Eelco Dolstra
6e118cd66b
* Change the default desktop manager from "xterm" to the last imported
...
and enabled desktop manager (e.g. "kde" if KDE is enabled, and
"xterm" if nothing is explicitly enabled). This means that you
don't have to write
services.xserver.desktopManager.default = "kde4";
anymore in addition to
services.xserver.desktopManager.kde4.enable = true;
to make KDE the default desktop environment.
* Remove the "none + none" session type.
* Remove the "+ none" string at the end of session types. I.e. now
it's "kde", not "kde + none".
* In kdm, add coreutils to its SystemPath so that it can remove the
temporary directories in /tmp that it creates.
svn path=/nixos/trunk/; revision=23036
2010-08-08 14:05:32 +00:00
Eelco Dolstra
622a7d3d46
* If kdm is enabled, disabled slim automatically. This is so that
...
users don't have to write
services.xserver.displayManager.kdm.enable = true;
services.xserver.displayManager.slim.enable = false;
to enable kdm, but just
services.xserver.displayManager.kdm.enable = true;
svn path=/nixos/trunk/; revision=23033
2010-08-08 12:39:00 +00:00
Michael Raskin
3cab6d3e1c
Fixing extra /bin/sh in the shell - noticed by Eelco Dolstra
...
svn path=/nixos/trunk/; revision=23021
2010-08-07 11:16:06 +00:00
Michael Raskin
dec8079468
Fix stdenv reference
...
svn path=/nixos/trunk/; revision=23020
2010-08-07 10:26:37 +00:00
Eelco Dolstra
da0d5c5645
* Use config.system.build.grub rather than pkgs.grub to get the right
...
GRUB when version 2 is enabled.
svn path=/nixos/branches/boot-order/; revision=22479
2010-07-05 14:33:11 +00:00
Eelco Dolstra
95a9c5dd77
* Log the standard output/error of Upstart jobs to
...
/var/log/upstart/<jobname> rather than spamming the console with it.
svn path=/nixos/trunk/; revision=22093
2010-06-01 19:44:23 +00:00