nixos-icons: fix icons not installed when documentation disabled

(cherry picked from commit aa8373ab1b98b700c411eac1fe9e3d858a802909)
This commit is contained in:
davidak
2021-08-04 19:39:21 +00:00
committed by github-actions[bot]
parent b1ee3bc424
commit 3f0926f6b5
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -258,8 +258,7 @@ in
environment.systemPackages = []
++ optional cfg.man.enable manual.manpages
++ optionals cfg.doc.enable ([ manual.manualHTML nixos-help ]
++ optionals config.services.xserver.enable [ pkgs.nixos-icons ]);
++ optionals cfg.doc.enable [ manual.manualHTML nixos-help ];
services.getty.helpLine = mkIf cfg.doc.enable (
"\nRun 'nixos-help' for the NixOS manual."