nixos-config/user/gnome.nix
2023-04-19 00:25:45 -03:00

16 lines
411 B
Nix

{ pkgs, lib, ... }: lib.mkIf (pkgs.uservars.desktop == "gnome") {
dconf.settings = with pkgs; with uservars.theme; {
"org/gnome/desktop/interface" = {
gtk-theme = gtk_theme;
icon-theme = icon_theme;
cursor-theme = cursor_theme;
color-scheme = "prefer-${color.type}";
};
"org/gnome/desktop/wm/preferences" = lib.mkForce {
button-layout = "menu:close";
};
};
}