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

14 lines
296 B
Nix
Raw Permalink Normal View History

{ config, pkgs, ... }:
2024-10-09 03:36:08 -04:00
{
2024-11-12 18:03:28 -05:00
imports = [ ./greetd ];
2024-08-24 22:16:51 -04:00
programs.sway = {
enable = config.system.desktop.enable;
package = pkgs.unstable.sway;
extraPackages = with pkgs; [ swaylock ];
2024-08-24 22:16:51 -04:00
};
services.dbus.enable = config.system.desktop.enable;
2024-08-24 22:16:51 -04:00
security.pam.services.swaylock = {};
}