summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-01-31 17:03:42 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-01-31 21:15:03 -0600
commit4768f41e36dca53ff1c79ea73f6d74e3ccab0234 (patch)
tree16aa5aff218dcc9f35d53bd15ad62a24034fbb7c /nixos
parentdb419ce555c0ea9b4c4ef812239a392bf9f3130c (diff)
downloadnixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.tar
nixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.tar.gz
nixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.tar.bz2
nixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.tar.lz
nixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.tar.xz
nixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.tar.zst
nixlib-4768f41e36dca53ff1c79ea73f6d74e3ccab0234.zip
nixos/kde5: use runtime outputs
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/desktop-managers/kde5.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/kde5.nix b/nixos/modules/services/x11/desktop-managers/kde5.nix
index e8c768e41fad..4b238938d927 100644
--- a/nixos/modules/services/x11/desktop-managers/kde5.nix
+++ b/nixos/modules/services/x11/desktop-managers/kde5.nix
@@ -55,12 +55,12 @@ in
     services.xserver.desktopManager.session = singleton {
       name = "kde5";
       bgSupport = true;
-      start = ''exec ${kde5.plasma-workspace}/bin/startkde;'';
+      start = ''exec startkde;'';
     };
 
     security.setuidOwners = singleton {
       program = "kcheckpass";
-      source = "${kde5.plasma-workspace}/lib/libexec/kcheckpass";
+      source = "${kde5.plasma-workspace.out}/lib/libexec/kcheckpass";
       owner = "root";
       group = "root";
       setuid = true;
@@ -168,12 +168,12 @@ in
 
     # Enable GTK applications to load SVG icons
     environment.variables = mkIf (lib.hasAttr "breeze-icons" kde5) {
-      GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
+      GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
     };
 
     fonts.fonts = [ (kde5.oxygen-fonts or pkgs.noto-fonts) ];
 
-    programs.ssh.askPassword = "${kde5.ksshaskpass}/bin/ksshaskpass";
+    programs.ssh.askPassword = "${kde5.ksshaskpass.out}/bin/ksshaskpass";
 
     # Enable helpful DBus services.
     services.udisks2.enable = true;