installation-cd-graphical-kde: put manual link directly on desktop
This commit is contained in:
@@ -53,21 +53,14 @@ with lib;
|
|||||||
# Don't start the X server by default.
|
# Don't start the X server by default.
|
||||||
services.xserver.autorun = mkForce false;
|
services.xserver.autorun = mkForce false;
|
||||||
|
|
||||||
# Custom kde-workspace adding some icons on the desktop
|
|
||||||
system.activationScripts.installerDesktop = let
|
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" ''
|
desktopFile = pkgs.writeText "nixos-manual.desktop" ''
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=NixOS Manual
|
Name=NixOS Manual
|
||||||
Exec=${openManual}
|
Exec=firefox ${config.system.build.manual.manual}/share/doc/nixos/index.html
|
||||||
Icon=firefox
|
Icon=text-html
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in ''
|
in ''
|
||||||
|
|||||||
Reference in New Issue
Block a user