mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
20 lines
459 B
Nix
20 lines
459 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
programs.niri.enable = true;
|
|
|
|
xdg.portal = {
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-gnome
|
|
pkgs.xdg-desktop-portal-gtk
|
|
pkgs.xdg-desktop-portal-wlr
|
|
];
|
|
|
|
config.niri = {
|
|
default = [ "wlr" "gnome" "gtk" ];
|
|
"org.freedesktop.impl.portal.ScreenCast" = [ "wlr" ];
|
|
"org.freedesktop.impl.portal.Screenshot" = [ "wlr" ];
|
|
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
|
|
};
|
|
};
|