nixos-configuration/nix-os/desktopManagers/gnome.nix

71 lines
2 KiB
Nix

{pkgs, ... }:
{
imports = [
../unstable-packages.nix
../dconf-common.nix
];
config = {
services.xserver.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
proot.dconf.profiles.user.rulesToApply = [
"org/gnome/desktop/background"
"org/gnome/desktop/interface"
"org/gnome/desktop/media-handling"
"org/gnome/desktop/peripherals/mouse"
"org/gnome/desktop/sound"
"org/gnome/desktop/wm/preferences"
"org/gnome/mutter"
"org/gnome/SessionManager"
"org/gnome/settings-daemon/plugins/power"
"org/gnome/shell"
"org/gnome/shell/app-switcher"
"org/gnome/shell/extensions/color-picker"
"org/gnome/shell/extensions/pop-shell"
"org/gnome/shell/extensions/top-bar-organizer"
"org/gnome/shell/extensions/trayIconsReloaded"
"org/gnome/shell/extensions/vitals"
"org/gnome/shell/keybindings"
"org/gnome/desktop/default-applications/terminal"
"org/gnome/settings-daemon/plugins/media-keys"
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0"
];
environment.gnome.excludePackages = with pkgs; [
gnome.baobab
gnome.cheese
gnome.epiphany
gnome.evince
gnome.geary
gedit
gnome.gnome-characters
gnome-connections
gnome-console
gnome.gnome-disk-utility
gnome.gnome-font-viewer
gnome.gnome-logs
gnome.gnome-maps
gnome-text-editor
gnome-tour
gnome.seahorse
gnome.totem
gnome.yelp
];
environment.systemPackages = with pkgs; [
gnomeExtensions.pop-shell
gnomeExtensions.vitals
gnomeExtensions.tray-icons-reloaded
gnomeExtensions.color-picker
gnomeExtensions.top-bar-organizer
# unstablePkgs.gnomeExtensions.translate-indicator
# translate-shell
pavucontrol
#FIXME: Apply the cursor theme also in GTK3 config
google-cursor
];
};
}