home/programs/niri: use gtk portals for most things, and gnome for screencast

This commit is contained in:
Anthony Rodriguez 2024-10-11 15:34:14 +02:00
parent 5ccb424079
commit 75cf6a4d67
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -9,6 +9,19 @@
in { in {
imports = [./binds.nix]; imports = [./binds.nix];
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gnome pkgs.gnome-keyring];
config = {
common = {
default = ["gtk"];
"org.freedesktop.impl.portal.ScreenCast" = ["gnome"];
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
};
};
};
programs.niri = { programs.niri = {
settings = { settings = {
input.keyboard.xkb = { input.keyboard.xkb = {