mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
50 lines
1 KiB
Nix
50 lines
1 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
config = {
|
|
services = {
|
|
xserver = {
|
|
# Enable the GNOME Desktop Environment.
|
|
desktopManager.gnome.enable = true;
|
|
displayManager = {
|
|
gdm.enable = true;
|
|
};
|
|
};
|
|
|
|
displayManager.defaultSession = "gnome";
|
|
|
|
gnome = {
|
|
tracker-miners.enable = false;
|
|
tracker.enable = false;
|
|
sushi.enable = true;
|
|
gnome-remote-desktop.enable = true;
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
dconf.enable = true;
|
|
gpaste.enable = true;
|
|
kdeconnect.package = pkgs.gnomeExtensions.gsconnect;
|
|
};
|
|
|
|
# remove some gnome default apps
|
|
environment.gnome.excludePackages = with pkgs.gnome; [
|
|
cheese # photo booth
|
|
epiphany # web browser
|
|
evince # document viewer
|
|
geary # email client
|
|
gnome-maps
|
|
gnome-weather
|
|
gnome-music
|
|
pkgs.gnome-tour
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gnome.ghex
|
|
impression
|
|
];
|
|
|
|
# RDP connections
|
|
networking.firewall.allowedTCPPorts = [ 3389 ];
|
|
};
|
|
}
|