nixos/common/gui/default.nix

33 lines
709 B
Nix

# Defines comfig for a "gui" system, in most cases a Desktop or Laptop
{ config, ... }:
{
imports = [ ./pkgs.nix ];
# Basic X11/display manager config
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true;
displayManager.sddm.theme = "nx-sddm";
};
networking.networkmanager.enable = true;
sound.enable = true;
hardware.pulseaudio.enable = true;
# Additional services
services.syncthing.enable = true;
services.flatpak.enable = true;
xdg.portal.enable = true;
xdg.portal.gtkUsePortal = true;
# Input config
services.xserver = {
synaptics.tapButtons = false;
libinput.enable = true;
};
}