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

13 lines
262 B
Nix
Raw 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;
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 = {};
}