nixos-configuration/modules/gnome.nix

69 lines
1.6 KiB
Nix
Raw Permalink Normal View History

2024-10-27 12:33:35 +01:00
{ config, pkgs, ... }:
2023-09-09 13:36:21 +02:00
{
config = {
2023-09-24 13:20:34 +02:00
services = {
xserver = {
# Enable the GNOME Desktop Environment.
2025-01-02 17:56:33 +01:00
desktopManager.gnome = {
enable = true;
extraGSettingsOverridePackages = [ pkgs.mutter ];
extraGSettingsOverrides = ''
[org.gnome.mutter]
experimental-features=['scale-monitor-framebuffer']
'';
};
2024-12-01 11:29:24 +01:00
displayManager.gdm.enable = true;
excludePackages = with pkgs; [ xterm ];
2023-09-24 13:20:34 +02:00
};
2023-09-09 13:36:21 +02:00
2024-06-21 17:13:58 +02:00
displayManager.defaultSession = "gnome";
2023-09-24 13:20:34 +02:00
gnome = {
2024-11-24 15:16:45 +01:00
tinysparql.enable = false;
localsearch.enable = false;
2023-11-06 13:53:11 +01:00
sushi.enable = true;
2023-11-24 14:32:58 +01:00
gnome-remote-desktop.enable = true;
2023-09-09 13:36:21 +02:00
};
2023-09-24 13:20:34 +02:00
};
2023-09-09 13:36:21 +02:00
programs = {
2023-11-06 13:53:11 +01:00
dconf.enable = true;
gpaste.enable = true;
kdeconnect.package = pkgs.gnomeExtensions.gsconnect;
2023-09-24 13:20:34 +02:00
};
# remove some gnome default apps
2024-11-24 15:16:45 +01:00
environment.gnome.excludePackages = with pkgs; [
cheese # photo booth
2023-12-04 15:08:22 +01:00
epiphany # web browser
evince # document viewer
geary # email client
gnome-maps
gnome-weather
2024-11-24 15:16:45 +01:00
gnome-tour
2024-12-01 11:29:24 +01:00
gnome-contacts
sysprof
orca # screen reader
gnome-disk-utility
gnome-system-monitor
gnome-weather
gnome-backgrounds
gnome-user-docs
gnome-calendar
yelp # help app
# gnome-music
# totem # video player
# snapshot # camera
# baobab # disk usage
];
2023-11-24 16:12:21 +01:00
2024-10-27 12:33:35 +01:00
environment.systemPackages = with pkgs; [
2024-11-24 15:16:45 +01:00
ghex
2024-10-27 12:33:35 +01:00
impression
];
2023-12-03 13:13:31 +01:00
2023-11-24 16:12:21 +01:00
# RDP connections
2024-10-27 12:33:35 +01:00
networking.firewall.allowedTCPPorts = [ 3389 ];
2023-09-24 13:20:34 +02:00
};
2023-09-09 13:36:21 +02:00
}