32 lines
666 B
Nix
32 lines
666 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;
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|