trying to get GTK4 apps working

This commit is contained in:
Tyler Mayoff 2025-09-14 22:28:34 -04:00
parent 625725b734
commit e65d7c392e
4 changed files with 82 additions and 26 deletions

View file

@ -0,0 +1,30 @@
{
inputs,
pkgs,
...
}: {
imports = [
inputs.niri.nixosModules.niri
];
niri-flake.cache.enable = true;
programs.niri.enable = true;
# programs.niri.package = pkgs.niri-unstable;
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gtk];
wlr.enable = true;
config = {
sway = {
default = ["gtk"];
};
niri = {
default = ["gnome" "gtk"];
"org.freedesktop.impl.portal.Access" = ["gtk"];
"org.freedesktop.impl.portal.Notification" = ["gtk"];
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
};
};
};
}