NixOS-Config/modules/system/programs/desktops/default.nix

18 lines
425 B
Nix
Raw Normal View History

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