47 lines
965 B
Nix
47 lines
965 B
Nix
{ ... }:
|
|
{
|
|
# Enable the X11 windowing system and a display manager
|
|
services.xserver = {
|
|
enable = true;
|
|
# displayManager.sddm = {
|
|
# enable = true;
|
|
# wayland.enable = true;
|
|
# };
|
|
|
|
# Configure keymap in X11
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
};
|
|
};
|
|
# services.displayManager.gdm = {
|
|
# enable = true;
|
|
# };
|
|
services.displayManager.ly = {
|
|
enable = true;
|
|
# See https://github.com/S41G0N/ly/blob/master/res/config.ini
|
|
settings = {
|
|
animation = "doom"; # matrix|doom|none
|
|
bigclock = "en";
|
|
clear_password = true; # erase the password on failure
|
|
clock = "%c"; # Show the clock
|
|
};
|
|
};
|
|
|
|
# Enable Hyprland so it shows up in the menu
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
xwayland.enable = true;
|
|
};
|
|
|
|
programs.sway = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
wrapperFeatures = {
|
|
gtk = true;
|
|
base = true;
|
|
};
|
|
};
|
|
}
|