12 lines
301 B
Nix
12 lines
301 B
Nix
{ config, lib, ... }:
|
|
{
|
|
programs = {
|
|
sway.enable = config.system.desktop.enable;
|
|
niri.enable = config.system.desktop.enable;
|
|
xwayland.enable = lib.mkForce config.system.desktop.enable;
|
|
};
|
|
|
|
services.dbus.enable = config.system.desktop.enable;
|
|
security.pam.services.swaylock = {};
|
|
}
|