18 lines
425 B
Nix
18 lines
425 B
Nix
{ config, lib, ... }:
|
|
{
|
|
programs = {
|
|
sway.enable = config.system.desktop.enable;
|
|
niri.enable = config.system.desktop.enable;
|
|
hyprland.enable = config.system.desktop.enable;
|
|
xwayland.enable = lib.mkForce true;
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
WLR_RENDERER = "vulkan";
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
|
|
services.dbus.enable = config.system.desktop.enable;
|
|
security.pam.services.swaylock = {};
|
|
}
|