nixcfg/homeManagerModules/desktop/waylandComp.nix

37 lines
854 B
Nix
Raw Normal View History

{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.waylandComp =
lib.mkEnableOption "Shared configuration for wayland compositors.";
};
config = lib.mkIf config.alyraffauf.desktop.waylandComp {
home.packages = [pkgs.swayosd];
alyraffauf = {
apps = {
fuzzel.enable = lib.mkDefault true;
mako.enable = lib.mkDefault true;
swaylock.enable = lib.mkDefault true;
waybar.enable = lib.mkDefault true;
wlogout.enable = lib.mkDefault true;
};
desktop = {
theme.enable = lib.mkDefault true;
defaultApps.enable = lib.mkDefault true;
};
};
services.cliphist.enable = lib.mkDefault true;
dconf = {
enable = true;
settings = {
"org/gnome/nm-applet".disable-connected-notifications = true;
};
};
};
}