nixos-artwork: add more wallpapers

Restructure the nixos-artwork to make it easy to selectively
incorporate other components from upstream without needing to download
the full package.

Until now only the Gnome_Dark wallpaper was included. Add other
wallpapers available in the package repository.
This commit is contained in:
romildo
2017-06-07 18:00:58 -03:00
parent 110e03897f
commit aa8018103c
6 changed files with 108 additions and 26 deletions

View File

@@ -111,7 +111,7 @@ in
background = mkOption {
type = types.str;
default = "${pkgs.nixos-artwork}/share/artwork/gnome/Gnome_Dark.png";
default = "${pkgs.nixos-artwork.wallpapers.gnome-dark}/share/artwork/gnome/Gnome_Dark.png";
description = ''
The background image or color to use.
'';