summary refs log tree commit diff
path: root/nixos/modules/services/misc/nixos-manual.nix
diff options
context:
space:
mode:
authorBenjamin Staffin <benley@gmail.com>2017-03-16 17:48:09 -0400
committerBenjamin Staffin <benley@gmail.com>2017-03-16 17:48:09 -0400
commitc2b0cb5db6c9df000060501ca2dd5293694da216 (patch)
treec55622fd827771b052b91bb611b6c90e2dcab66c /nixos/modules/services/misc/nixos-manual.nix
parent14315cf4f59daf6efde281ac2be2e27602d39b41 (diff)
downloadnixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.tar
nixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.tar.gz
nixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.tar.bz2
nixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.tar.lz
nixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.tar.xz
nixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.tar.zst
nixlib-c2b0cb5db6c9df000060501ca2dd5293694da216.zip
nixos: nix snowflake logo for the nixos manual launcher
Diffstat (limited to 'nixos/modules/services/misc/nixos-manual.nix')
-rw-r--r--nixos/modules/services/misc/nixos-manual.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/misc/nixos-manual.nix b/nixos/modules/services/misc/nixos-manual.nix
index 622607f3b32d..515864ec2e2d 100644
--- a/nixos/modules/services/misc/nixos-manual.nix
+++ b/nixos/modules/services/misc/nixos-manual.nix
@@ -62,8 +62,7 @@ let
     name = "nixos-manual";
     desktopName = "NixOS Manual";
     genericName = "View NixOS documentation in a web browser";
-    # TODO: find a better icon (Nix logo + help overlay?)
-    icon = "system-help";
+    icon = "nix-snowflake";
     exec = "${helpScript}/bin/nixos-help";
     categories = "System";
   };
@@ -115,7 +114,7 @@ in
 
     environment.systemPackages =
       [ manual.manual helpScript ]
-      ++ optional config.services.xserver.enable desktopItem
+      ++ optionals config.services.xserver.enable [desktopItem pkgs.nixos-icons]
       ++ optional config.programs.man.enable manual.manpages;
 
     boot.extraTTYs = mkIf cfg.showManual ["tty${toString cfg.ttyNumber}"];