nixFlake/common/gui/common.nix
2023-10-27 17:15:03 -07:00

27 lines
486 B
Nix

{
config,
lib,
pkgs,
inputs,
outputs,
...
}: {
# Enable the X11 windowing system.
services.xserver.enable = true;
# Configure keymap in X11
services.xserver = {
layout = "us";
xkbVariant = "";
};
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
hardware.bluetooth.enable = true;
programs.sway.enable = true;
}