nixos/lightdm: Add a background option

This commit is contained in:
William A. Kennington III 2015-03-10 15:57:46 -07:00
parent 9da09f3fdf
commit 26020cfe8a
2 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,7 @@ let
[greeter] [greeter]
theme-name = Adwaita theme-name = Adwaita
icon-theme-name = Adwaita icon-theme-name = Adwaita
background = ${cfg.background}
''; '';
in in
@ -101,6 +102,13 @@ in
}; };
}; };
background = mkOption {
default = "${pkgs.nixos-artwork}/gnome/Gnome_Dark.png";
description = ''
The background image or color to use.
'';
};
}; };
}; };

View File

@ -13448,6 +13448,7 @@ let
nix-serve = callPackage ../tools/package-management/nix-serve { }; nix-serve = callPackage ../tools/package-management/nix-serve { };
# Remember to check the default lightdm wallpaper
nixos-artwork = fetchgit { nixos-artwork = fetchgit {
url = "git://github.com/NixOS/nixos-artwork"; url = "git://github.com/NixOS/nixos-artwork";
rev = "e71b6846023919136795ede22b16d73b2cf1693d"; rev = "e71b6846023919136795ede22b16d73b2cf1693d";