blob: 2a8bdaed1b3235533c281a45eae6aa565aa5628e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, ... }@extraArgs:
let wallpaper = config.personal.home.wallpaper;
in {
options.personal.home.wallpaper = lib.mkOption {
type = with lib.types; nullOr path;
default = extraArgs.osConfig.stylix.image or null;
description = ''
Path to the desktop wallpaper.
'';
example =
lib.literalExample "${config.home.homeDirectory}/images/wallpaper.jpg";
};
}
|