{ config, pkgs, ... }: { imports = [ ./greetd ]; programs.sway = { enable = config.system.desktop.enable; extraPackages = with pkgs; [ swaylock ]; }; services.dbus.enable = config.system.desktop.enable; security.pam.services.swaylock = {}; }