nixos-config/user/gnome.nix
2024-06-28 22:50:17 -03:00

58 lines
1.2 KiB
Nix

{
pkgs,
lib,
inputs,
config,
...
}:
lib.mkIf (config.my.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";
};
services.gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
xdg.defaultApplications = {
enable = lib.mkForce false;
};
}