diff options
| author | aristote <quentin.aristote@irif.fr> | 2025-07-29 15:25:11 +0200 |
|---|---|---|
| committer | aristote <quentin.aristote@irif.fr> | 2025-07-29 15:25:11 +0200 |
| commit | fc019d789523ce5f89436b8dbc458cf3b79abf43 (patch) | |
| tree | ec56fd1b1ed9fc75096c0b09db48a152975e4d53 /modules/home-manager/wallpaper.nix | |
| parent | a3d19bc509d9f39fb41256cd55d2bd7706de202f (diff) | |
reformat everything with nixfmt
Diffstat (limited to 'modules/home-manager/wallpaper.nix')
| -rw-r--r-- | modules/home-manager/wallpaper.nix | 9 |
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"; }; } |
