31 lines
632 B
Nix
31 lines
632 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;
|
||
|
|
||
|
# Input config
|
||
|
services.xserver = {
|
||
|
synaptics.tapButtons = false;
|
||
|
libinput.enable = true;
|
||
|
};
|
||
|
|
||
|
}
|