summaryrefslogtreecommitdiff
path: root/modules/home-manager/wallpaper.nix
blob: cd71aabbf375734ec048c084de0a7d8d2afc12b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, lib, ... }:

let wallpaper = config.personal.home.wallpaper;
in {
  options.personal.home.wallpaper = lib.mkOption {
    type = with lib.types; nullOr path;
    default = null;
    description = ''
      Path to the desktop wallpaper.
    '';
    example =
      lib.literalExample "${config.home.homeDirectory}/images/wallpaper.jpg";
  };
}