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

12 lines
266 B
Nix

{ config, lib, ... }:
{
programs = {
sway.enable = config.system.desktop.enable;
niri.enable = config.system.desktop.enable;
xwayland.enable = false;
};
services.dbus.enable = config.system.desktop.enable;
security.pam.services.swaylock = {};
}