2024-04-22 23:14:28 -04:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
2024-05-23 19:02:05 -04:00
|
|
|
unstable,
|
2024-04-22 23:14:28 -04:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
options = {
|
|
|
|
alyraffauf.desktop.sway.enable =
|
2024-05-12 22:00:09 -04:00
|
|
|
lib.mkEnableOption "Sway wayland compositor.";
|
2024-04-22 23:14:28 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.sway.enable {
|
|
|
|
services = {
|
2024-05-21 22:37:04 -04:00
|
|
|
blueman.enable = true;
|
2024-04-22 23:14:28 -04:00
|
|
|
dbus.packages = [pkgs.gcr];
|
2024-05-21 22:37:04 -04:00
|
|
|
geoclue2.enable = true;
|
2024-05-02 21:51:43 -04:00
|
|
|
gnome.gnome-keyring.enable = true;
|
2024-05-21 22:37:04 -04:00
|
|
|
udev.packages = [pkgs.swayosd];
|
2024-04-22 23:14:28 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
security.pam.services = {
|
|
|
|
greetd.enableKwallet = true;
|
|
|
|
greetd.enableGnomeKeyring = true;
|
|
|
|
swaylock = {};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
gnupg.agent.pinentryPackage = pkgs.pinentry-gnome3;
|
|
|
|
sway = {
|
|
|
|
enable = true;
|
2024-05-23 19:02:05 -04:00
|
|
|
package = unstable.swayfx;
|
2024-04-22 23:14:28 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|