nixos/common/gui/default.nix

31 lines
632 B
Nix
Raw Normal View History

2020-05-12 08:53:09 +00:00
# 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;
};
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;
# Input config
services.xserver = {
synaptics.tapButtons = false;
libinput.enable = true;
};
}