diff options
Diffstat (limited to 'modules/home-manager/wallpaper.nix')
| -rw-r--r-- | modules/home-manager/wallpaper.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/home-manager/wallpaper.nix b/modules/home-manager/wallpaper.nix new file mode 100644 index 0000000..cd71aab --- /dev/null +++ b/modules/home-manager/wallpaper.nix @@ -0,0 +1,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"; + }; +} |
