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