2024-12-03 16:50:23 -05:00
|
|
|
{ config, lib, ... }:
|
|
|
|
{
|
2024-12-12 06:37:05 -05:00
|
|
|
config = lib.mkIf config.system.desktop.enable {
|
|
|
|
programs = {
|
|
|
|
sway.enable = true;
|
|
|
|
niri.enable = true;
|
|
|
|
hyprland.enable = true;
|
|
|
|
xwayland.enable = lib.mkForce true;
|
|
|
|
};
|
2024-12-03 16:50:23 -05:00
|
|
|
|
2024-12-12 06:37:05 -05:00
|
|
|
environment.sessionVariables = {
|
|
|
|
WLR_RENDERER = "vulkan";
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
};
|
2024-12-10 17:54:39 -05:00
|
|
|
|
2024-12-12 06:37:05 -05:00
|
|
|
services.dbus.enable = true;
|
|
|
|
security.pam.services.swaylock = {};
|
|
|
|
};
|
2024-12-03 16:50:23 -05:00
|
|
|
}
|