summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-11-14 17:52:50 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-11-15 07:21:40 -0600
commit66d9772f0b79d4999b9f032f720d87ea7682377f (patch)
treee84b3060bb22877adb34766ca3a17cd07fdc1688 /nixos/modules/installer/cd-dvd
parent8c3aa5a484b66dcf00365253e59d012976e03714 (diff)
downloadnixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.tar
nixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.tar.gz
nixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.tar.bz2
nixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.tar.lz
nixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.tar.xz
nixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.tar.zst
nixlib-66d9772f0b79d4999b9f032f720d87ea7682377f.zip
installation-cd-graphical-kde: put manual link directly on desktop
Diffstat (limited to 'nixos/modules/installer/cd-dvd')
-rw-r--r--nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
index bf233e24797f..c44dff3bb60d 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
@@ -53,21 +53,14 @@ with lib;
   # Don't start the X server by default.
   services.xserver.autorun = mkForce false;
 
-  # Custom kde-workspace adding some icons on the desktop
   system.activationScripts.installerDesktop = let
-    openManual = pkgs.writeScript "nixos-manual.sh" ''
-      #!${pkgs.stdenv.shell}
-      cd ${config.system.build.manual.manual}/share/doc/nixos/
-      firefox ./index.html
-    '';
-
     desktopFile = pkgs.writeText "nixos-manual.desktop" ''
       [Desktop Entry]
       Version=1.0
       Type=Application
       Name=NixOS Manual
-      Exec=${openManual}
-      Icon=firefox
+      Exec=firefox ${config.system.build.manual.manual}/share/doc/nixos/index.html
+      Icon=text-html
     '';
 
   in ''