mirror of
https://github.com/danth/stylix
synced 2024-11-23 04:33:15 +00:00
9185529e3d
This works according to a comment on Reddit - I haven't tested it myself.
15 lines
414 B
Nix
15 lines
414 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
{
|
|
options.stylix.targets.gnome.enable =
|
|
config.lib.stylix.mkEnableTarget "GNOME" true;
|
|
|
|
config.home-manager.sharedModules =
|
|
lib.mkIf config.stylix.targets.gnome.enable [{
|
|
dconf.settings."org/gnome/desktop/background" = {
|
|
color-shading-type = "solid";
|
|
picture-options = "zoom";
|
|
picture-uri = "file://${config.stylix.image}";
|
|
};
|
|
}];
|
|
}
|