39 lines
610 B
Nix
39 lines
610 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
services = {
|
|
xserver = {
|
|
xkb = {
|
|
layout = "de";
|
|
variant = "";
|
|
};
|
|
};
|
|
power-profiles-daemon = {
|
|
enable = true;
|
|
};
|
|
upower = {
|
|
enable = true;
|
|
};
|
|
};
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
xwayland.enable = true;
|
|
};
|
|
programs.uwsm = {
|
|
enable = true;
|
|
waylandCompositors = {
|
|
hyprland = {
|
|
prettyName = "Hyprland";
|
|
comment = "Hyprland compositor managed by UWSM";
|
|
binPath = "/run/current-system/sw/bin/start-hyprland";
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|