nixos-config/user/gnome.nix
2024-06-05 01:20:01 -03:00

55 lines
1.1 KiB
Nix

{
pkgs,
lib,
inputs,
...
}:
lib.mkIf (pkgs.uservars.desktop == "gnome") {
home.pointerCursor = {
name = "Adwaita";
size = 24;
package = pkgs.gnome.adwaita-icon-theme;
gtk.enable = true;
};
dconf.settings = {
"org/gnome/desktop/interface" = {
# gtk-theme = "Adwaita";
# icon-theme = "Adwaita";
cursor-theme = "Adwaita";
# color-scheme = "default";
};
"org/gnome/desktop/wm/preferences" = lib.mkForce { button-layout = "appmenu:close"; };
"org/gnome/desktop/input-sources" = {
xkb-options = [ "lv3:lsgt_switch" ];
};
};
home.packages = with pkgs; [
inputs.nixos-conf-editor.packages.${pkgs.system}.nixos-conf-editor
inputs.nix-software-center.packages.${pkgs.system}.nix-software-center
adw-gtk3
newsflash
foliate
amberol
pitivi
gnome-passwordsafe
libsForQt5.qt5ct
libsForQt5.qtstyleplugin-kvantum
qt6Packages.qt6ct
qt6Packages.qtstyleplugin-kvantum
];
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "qt5ct";
};
xdg.defaultApplications = {
enable = lib.mkForce false;
};
}