nixos: gen 34 @ lilac — 2026-09-13 13:04 26.05.20260814.02e0898 (Yarara) -----
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 566 KiB |
@@ -37,15 +37,17 @@ let
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
# Use gtk or kde based on your preferred file picker dialog
|
||||
config.niri = {
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; # or "kde"
|
||||
default = [ "gnome" "gtk" ];
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
|
||||
};
|
||||
|
||||
# Ensure the GTK portal is installed
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
#programs.niri.enable = true;
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelModules = [ "uinput" ];
|
||||
system.nixos.label = "niri-v.1.2";
|
||||
environment.pathsToLink = [ "/libexec" ];
|
||||
environment.pathsToLink = [ "/libexec" "/share/xdg-desktop-portal" "/share/xdg-desktop-portal/portals" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user