From 68effc0d85e86645a1c062a333f0b77def1aca9f Mon Sep 17 00:00:00 2001 From: Jo Date: Wed, 25 Dec 2024 23:33:12 +0100 Subject: [PATCH] feat(modules/home): configure gnome wallpaper through module --- modules/home/desktop/gnome/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/home/desktop/gnome/default.nix b/modules/home/desktop/gnome/default.nix index c6d29d5..6551b9f 100644 --- a/modules/home/desktop/gnome/default.nix +++ b/modules/home/desktop/gnome/default.nix @@ -39,6 +39,7 @@ in }; }; }; + wallpaper = mkOpt str (builtins.toString ./background.png) "Specify the path of your prefered Gnome wallpaper."; }; config = mkIf osConfig.${namespace}.desktop.gnome.enable { @@ -66,6 +67,10 @@ in autofocus-windows = true; notifications-position = "right"; }; + "org/gnome/desktop/background" = { + picture-uri = cfg.wallpaper; + picture-uri-dark = cfg.wallpaper; + }; }; }; }