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