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; + }; }; }; }