nixos: drop references to kde4

Excluding modules/programs/environment.nix for PATHand QT_PLUGIN_PATH to allow the programs to continue running.
This commit is contained in:
Graham Christensen 2017-02-11 14:01:13 -05:00
parent 3cec7d10df
commit b1a05a0865
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C
6 changed files with 7 additions and 16 deletions

View File

@ -2,9 +2,7 @@
with lib; with lib;
let let
isBluez4 = config.services.xserver.desktopManager.kde4.enable; bluez-bluetooth = pkgs.bluez;
bluez-bluetooth = if isBluez4 then pkgs.bluez4 else pkgs.bluez;
in in
{ {
@ -38,7 +36,7 @@ in
aliases = [ "dbus-org.bluez.service" ]; aliases = [ "dbus-org.bluez.service" ];
}; };
systemd.user.services.obex = mkIf (!isBluez4) { systemd.user.services.obex = {
aliases = [ "dbus-org.bluez.obex.service" ]; aliases = [ "dbus-org.bluez.obex.service" ];
}; };

View File

@ -25,12 +25,12 @@ in
package = mkOption { package = mkOption {
type = types.package; type = types.package;
default = pkgs.kde4.quasselDaemon; default = pkgs.quasselDaemon_qt5;
defaultText = "pkgs.kde4.quasselDaemon"; defaultText = "pkgs.quasselDaemon_qt5";
description = '' description = ''
The package of the quassel daemon. The package of the quassel daemon.
''; '';
example = literalExample "pkgs.quasselDaemon"; example = literalExample "pkgs.quasselDaemon_qt5";
}; };
interfaces = mkOption { interfaces = mkOption {

View File

@ -18,9 +18,8 @@ in
# determines the default: later modules (if enabled) are preferred. # determines the default: later modules (if enabled) are preferred.
# E.g., if KDE is enabled, it supersedes xterm. # E.g., if KDE is enabled, it supersedes xterm.
imports = [ imports = [
./none.nix ./xterm.nix ./xfce.nix ./kde4.nix ./kde5.nix ./none.nix ./xterm.nix ./xfce.nix ./kde5.nix ./lumina.nix
./lumina.nix ./lxqt.nix ./enlightenment.nix ./gnome3.nix ./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix
./kodi.nix
]; ];
options = { options = {

View File

@ -50,10 +50,6 @@ in
}) })
(mkIf (xcfg.enable && cfg.enable) { (mkIf (xcfg.enable && cfg.enable) {
warnings = optional config.services.xserver.desktopManager.kde4.enable
"KDE 4 should not be enabled at the same time as KDE 5";
services.xserver.desktopManager.session = singleton { services.xserver.desktopManager.session = singleton {
name = "kde5"; name = "kde5";
bgSupport = true; bgSupport = true;

View File

@ -72,7 +72,6 @@ in rec {
(all nixos.tests.ecryptfs) (all nixos.tests.ecryptfs)
(all nixos.tests.ipv6) (all nixos.tests.ipv6)
(all nixos.tests.i3wm) (all nixos.tests.i3wm)
(all nixos.tests.kde4)
(all nixos.tests.kde5) (all nixos.tests.kde5)
#(all nixos.tests.lightdm) #(all nixos.tests.lightdm)
(all nixos.tests.login) (all nixos.tests.login)

View File

@ -255,7 +255,6 @@ in rec {
tests.influxdb = callTest tests/influxdb.nix {}; tests.influxdb = callTest tests/influxdb.nix {};
tests.ipv6 = callTest tests/ipv6.nix {}; tests.ipv6 = callTest tests/ipv6.nix {};
tests.jenkins = callTest tests/jenkins.nix {}; tests.jenkins = callTest tests/jenkins.nix {};
tests.kde4 = callTest tests/kde4.nix {};
tests.kde5 = callTest tests/kde5.nix {}; tests.kde5 = callTest tests/kde5.nix {};
tests.keymap = callSubTests tests/keymap.nix {}; tests.keymap = callSubTests tests/keymap.nix {};
tests.initrdNetwork = callTest tests/initrd-network.nix {}; tests.initrdNetwork = callTest tests/initrd-network.nix {};