feat(modules/home): configure gnome wallpaper through module

This commit is contained in:
Jo 2024-12-25 23:33:12 +01:00
parent 63bc2f18ff
commit 68effc0d85

View file

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