2024-10-11 23:27:07 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
cfg = config.module.sway;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
|
|
|
environment.variables.XDG_CURRENT_DESKTOP = "sway";
|
|
|
|
module = {
|
|
|
|
bluetooth.enable = true;
|
|
|
|
brightness.enable = true;
|
|
|
|
portal.enable = true;
|
|
|
|
sound.enable = true;
|
|
|
|
waybar.enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
};
|
|
|
|
programs.sway = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = with pkgs; [ swaykbdd ];
|
|
|
|
wrapperFeatures = {
|
|
|
|
base = true;
|
|
|
|
gtk = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-30 03:56:48 +03:00
|
|
|
}
|