mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 00:31:54 -05:00
31 lines
647 B
Nix
31 lines
647 B
Nix
{
|
|
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];
|
|
geoclue2.enable = lib.mkDefault true;
|
|
gnome.gnome-keyring.enable = lib.mkDefault true;
|
|
udev.packages = [pkgs.swayosd];
|
|
};
|
|
|
|
security.pam.services = {
|
|
swaylock = {};
|
|
};
|
|
|
|
programs = {
|
|
gnupg.agent.pinentryPackage = lib.mkForce pkgs.pinentry-gnome3;
|
|
};
|
|
};
|
|
}
|