dotfiles/modules/desktop/xorg.nix
2022-04-28 23:04:48 -04:00

30 lines
448 B
Nix

{ pkgs, user, gui, gtkTheme, ... }: {
# Enable the X11 windowing system.
services.xserver = {
enable = gui;
# Enable touchpad support
libinput.enable = true;
# Login screen
displayManager = {
lightdm = {
enable = gui;
# Make the login screen dark
greeters.gtk.theme.name = gtkTheme;
};
};
};
environment.systemPackages = with pkgs;
[
xclip # Clipboard
];
}