2024-05-26 00:36:48 -04:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
options = {
|
|
|
|
alyraffauf.desktop.waylandComp.enable =
|
|
|
|
lib.mkEnableOption "Shared defaults for wayland compositors.";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.waylandComp.enable {
|
|
|
|
services = {
|
|
|
|
blueman.enable = lib.mkDefault true;
|
|
|
|
dbus.packages = [pkgs.gcr];
|
2024-05-26 01:44:34 -04:00
|
|
|
geoclue2.enable = lib.mkDefault true;
|
2024-05-26 00:36:48 -04:00
|
|
|
gnome.gnome-keyring.enable = lib.mkDefault true;
|
|
|
|
udev.packages = [pkgs.swayosd];
|
|
|
|
};
|
|
|
|
|
|
|
|
security.pam.services = {
|
|
|
|
swaylock = {};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
gnupg.agent.pinentryPackage = lib.mkForce pkgs.pinentry-gnome3;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|