feat(wrapping): introduce wrapped configurations

This commit is contained in:
Artur Manuel 2025-01-25 05:44:26 +00:00
commit 2aa24ab2b9
22 changed files with 883 additions and 135 deletions

View file

@ -11,24 +11,21 @@ in {
wayland = mkEnableOption "wayland support";
};
config = lib.mkIf cfg.wayland {
xdg.portal = {
xdg.portal = lib.mkDefault {
enable = true;
config.common = {
default = [
"gtk"
"kde"
];
default = ["gtk"];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-kde
];
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
environment.sessionVariables = {
"NIXOS_OZONE_WL" = "1";
"QT_QPA_PLATFORM" = "wayland";
};
programs.waybar.enable = true;
services.gnome.gnome-keyring.enable = true;
};
}