summaryrefslogtreecommitdiff
path: root/modules/home-manager/wallpaper.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home-manager/wallpaper.nix')
-rw-r--r--modules/home-manager/wallpaper.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/home-manager/wallpaper.nix b/modules/home-manager/wallpaper.nix
index 2a8bdae..d4c162d 100644
--- a/modules/home-manager/wallpaper.nix
+++ b/modules/home-manager/wallpaper.nix
@@ -1,14 +1,15 @@
{ config, lib, ... }@extraArgs:
-let wallpaper = config.personal.home.wallpaper;
-in {
+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";
+ example = lib.literalExample "${config.home.homeDirectory}/images/wallpaper.jpg";
};
}