mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
9 lines
330 B
Nix
9 lines
330 B
Nix
{ config, pkgs, std, lib, ... }: let
|
|
inherit (std) set list;
|
|
inherit (lib.modules) mkForce;
|
|
in {
|
|
programs.sway = {
|
|
enable = list.any (user: user.wayland.windowManager.sway.enable) (set.values config.home-manager.users);
|
|
extraPackages = with pkgs; mkForce [ xwayland swaylock swayidle swaylock-fancy wmctrl ];
|
|
};
|
|
}
|