nixos-config/user/gnome.nix

56 lines
1.4 KiB
Nix
Raw Normal View History

2023-06-02 17:55:54 -03:00
{ pkgs, lib, inputs, ... }: lib.mkIf (pkgs.uservars.desktop == "gnome") {
2023-04-19 00:25:28 -03:00
2023-10-26 10:35:59 -03:00
home.pointerCursor = {
name = "Adwaita";
size = 24;
package = pkgs.gnome.adwaita-icon-theme;
gtk.enable = true;
};
2023-06-02 17:55:54 -03:00
dconf.settings = {
2023-04-19 00:25:28 -03:00
"org/gnome/desktop/interface" = {
2023-06-02 17:55:54 -03:00
# gtk-theme = "Adwaita";
# icon-theme = "Adwaita";
2023-10-26 10:35:59 -03:00
cursor-theme = "Adwaita";
2023-06-02 17:55:54 -03:00
# color-scheme = "default";
2023-04-19 00:25:28 -03:00
};
"org/gnome/desktop/wm/preferences" = lib.mkForce {
2023-06-02 17:55:54 -03:00
button-layout = "appmenu:close";
2023-04-19 00:25:28 -03:00
};
"org/gnome/desktop/input-sources" = {
xkb-options = [ "lv3:lsgt_switch" ];
};
2023-04-19 00:25:28 -03:00
};
2023-06-02 17:55:54 -03:00
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
2023-10-28 21:09:20 -03:00
amberol
2023-06-02 17:55:54 -03:00
pitivi
2023-08-17 10:01:37 -03:00
gnome-passwordsafe
2023-11-27 15:45:03 -03:00
libsForQt5.qt5ct
libsForQt5.qtstyleplugin-kvantum
2023-06-02 17:55:54 -03:00
];
2023-11-27 15:45:03 -03:00
home.sessionVariables = { QT_QPA_PLATFORMTHEME = "qt5ct"; };
xdg.defaultApplications = {
enable = true;
text-editor = "codium.desktop";
image-viewer = "org.gnome.eog.desktop";
video-player = "org.gnome.Totem.desktop";
web-browser = "firefox.desktop";
document-viewer = "org.gnome.Evince.desktop";
file-manager = "org.gnome.Nautilus.desktop";
2023-10-27 09:13:08 -03:00
archive-manager = "org.gnome.FileRoller.desktop;";
email-client = "thunderbird.desktop";
torrent-client = "torrent.desktop";
};
2023-04-19 00:25:28 -03:00
}