Abstracted background image into one config option

This commit is contained in:
Emmet 2023-05-22 20:39:15 -05:00
parent cbe068f1dd
commit 76923c8f1f
5 changed files with 27 additions and 12 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, myTheme, ... }:
{ config, pkgs, myTheme, myBackgroundUrl, myBackgroundSha256, ... }:
{
imports =
@ -96,9 +96,10 @@
defaultSession = "none+xmonad";
lightdm.greeters.slick.enable = true;
lightdm.background = pkgs.fetchurl {
url = "https://w.wallhaven.cc/full/6d/wallhaven-6d5k6x.jpg";
sha256 = "+xl4H3UiVmMRNvMhIlaLdVTYYqnSyCTSX2UOTGsDQ8c=";
url = myBackgroundUrl;
sha256 = myBackgroundSha256;
};
lightdm.greeters.slick.theme.name = "Adwaita-dark";
};
};