diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-03-01 19:03:40 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-03-01 19:03:40 +0100 |
| commit | 8ba72877cd391b1cc0f122eddc8230a66a5a78ef (patch) | |
| tree | 26ad25dcb1600d53e4e50d56c9fd1408cd43335f /modules | |
| parent | e4c386869436e6720b7e5b40f87e29b07ffd467d (diff) | |
home: wallpaper: default to stylix wallpaper if it exists
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home-manager/wallpaper.nix | 4 |
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. ''; |
