nixos-icons: fix icons not installed when documentation disabled

This commit is contained in:
davidak 2021-07-24 06:50:01 +02:00
parent a5eee47d7f
commit aa8373ab1b
2 changed files with 2 additions and 2 deletions

View File

@ -258,8 +258,7 @@ in
environment.systemPackages = [] environment.systemPackages = []
++ optional cfg.man.enable manual.manpages ++ optional cfg.man.enable manual.manpages
++ optionals cfg.doc.enable ([ manual.manualHTML nixos-help ] ++ optionals cfg.doc.enable [ manual.manualHTML nixos-help ];
++ optionals config.services.xserver.enable [ pkgs.nixos-icons ]);
services.getty.helpLine = mkIf cfg.doc.enable ( services.getty.helpLine = mkIf cfg.doc.enable (
"\nRun 'nixos-help' for the NixOS manual." "\nRun 'nixos-help' for the NixOS manual."

View File

@ -651,6 +651,7 @@ in
pkgs.xterm pkgs.xterm
pkgs.xdg-utils pkgs.xdg-utils
xorg.xf86inputevdev.out # get evdev.4 man page xorg.xf86inputevdev.out # get evdev.4 man page
pkgs.nixos-icons # needed for gnome and pantheon about dialog, nixos-manual and maybe more
] ]
++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh; ++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh;