{ pkgs, ... }: { imports = [ ./greetd ./portals ]; programs.sway = { enable = true; package = pkgs.unstable.sway; extraPackages = with pkgs; [ swaylock ]; }; # Allow swaylock to function security.pam.services.swaylock = {}; }