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
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Use gtk or kde based on your preferred file picker dialog
|
|
||||||
config.niri = {
|
config.niri = {
|
||||||
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; # or "kde"
|
default = [ "gnome" "gtk" ];
|
||||||
|
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
|
||||||
};
|
};
|
||||||
|
extraPortals = [
|
||||||
# Ensure the GTK portal is installed
|
pkgs.xdg-desktop-portal-gnome
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
#programs.niri.enable = true;
|
#programs.niri.enable = true;
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.kernelModules = [ "uinput" ];
|
boot.kernelModules = [ "uinput" ];
|
||||||
system.nixos.label = "niri-v.1.2";
|
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