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.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/home-manager/wallpaper.nix b/modules/home-manager/wallpaper.nix
index cd71aab..2a8bdae 100644
--- a/modules/home-manager/wallpaper.nix
+++ b/modules/home-manager/wallpaper.nix
@@ -1,10 +1,10 @@
-{ config, lib, ... }:
+{ config, lib, ... }@extraArgs:
let wallpaper = config.personal.home.wallpaper;
in {
options.personal.home.wallpaper = lib.mkOption {
type = with lib.types; nullOr path;
- default = null;
+ default = extraArgs.osConfig.stylix.image or null;
description = ''
Path to the desktop wallpaper.
'';