about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-01-24 10:40:41 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-01-26 21:01:06 -0600
commit726b80bc87db7777a48153b715f3f2facc246fd6 (patch)
tree194ab1b33c272adbfc68034576c1bbd9ada953e6 /nixos
parent95d23beb8d9cab7d7d407f1073993b803555a459 (diff)
downloadnixlib-726b80bc87db7777a48153b715f3f2facc246fd6.tar
nixlib-726b80bc87db7777a48153b715f3f2facc246fd6.tar.gz
nixlib-726b80bc87db7777a48153b715f3f2facc246fd6.tar.bz2
nixlib-726b80bc87db7777a48153b715f3f2facc246fd6.tar.lz
nixlib-726b80bc87db7777a48153b715f3f2facc246fd6.tar.xz
nixlib-726b80bc87db7777a48153b715f3f2facc246fd6.tar.zst
nixlib-726b80bc87db7777a48153b715f3f2facc246fd6.zip
startkde: don't split script between NixOS module and package
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/desktop-managers/kde5.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/kde5.nix b/nixos/modules/services/x11/desktop-managers/kde5.nix
index 125bce94aba7..2aa697e3abcc 100644
--- a/nixos/modules/services/x11/desktop-managers/kde5.nix
+++ b/nixos/modules/services/x11/desktop-managers/kde5.nix
@@ -75,27 +75,6 @@ in
       name = "kde5";
       bgSupport = true;
       start = ''
-        # The KDE icon cache is supposed to update itself
-        # automatically, but it uses the timestamp on the icon
-        # theme directory as a trigger.  Since in Nix the
-        # timestamp is always the same, this doesn't work.  So as
-        # a workaround, nuke the icon cache on login.  This isn't
-        # perfect, since it may require logging out after
-        # installing new applications to update the cache.
-        # See http://lists-archives.org/kde-devel/26175-what-when-will-icon-cache-refresh.html
-        rm -fv $HOME/.cache/icon-cache.kcache
-
-        # Qt writes a weird ‘libraryPath’ line to
-        # ~/.config/Trolltech.conf that causes the KDE plugin
-        # paths of previous KDE invocations to be searched.
-        # Obviously using mismatching KDE libraries is potentially
-        # disastrous, so here we nuke references to the Nix store
-        # in Trolltech.conf.  A better solution would be to stop
-        # Qt from doing this wackiness in the first place.
-        if [ -e $HOME/.config/Trolltech.conf ]; then
-            sed -e '/nix\\store\|nix\/store/ d' -i $HOME/.config/Trolltech.conf
-        fi
-
         exec ${plasma5.startkde}/bin/startkde;
       '';
     };