17 lines
316 B
Nix
17 lines
316 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./greetd
|
|
./portals
|
|
];
|
|
|
|
programs.sway = {
|
|
enable = config.system.desktop.enable;
|
|
package = pkgs.unstable.sway;
|
|
extraPackages = with pkgs; [ swaylock ];
|
|
};
|
|
|
|
services.dbus.enable = config.system.desktop.enable;
|
|
security.pam.services.swaylock = {};
|
|
}
|