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