fixing xdg stuff

This commit is contained in:
LarsZauberer 2024-04-14 21:11:01 +02:00
commit 28ec24b51a
3 changed files with 12 additions and 5 deletions

View file

@ -29,7 +29,7 @@
profiling = false; profiling = false;
extraAliases = { extraAliases = {
cls = "clear"; cls = "clear";
Hyprland = "dbus-run-session Hyprland";
}; };
ohmyzsh = { ohmyzsh = {
enable = true; enable = true;

View file

@ -38,11 +38,16 @@ in {
GTK_USE_PORTAL = "1"; GTK_USE_PORTAL = "1";
NIXOS_XDG_OPEN_USE_PORTAL = "1"; NIXOS_XDG_OPEN_USE_PORTAL = "1";
}; };
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
xwayland.enable = true; xwayland.enable = true;
}; };
xdg.portal.wlr.enable = true; xdg.portal.wlr.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
xdg.portal.config.common.default = "gtk";
xdg.portal.lxqt.enable = false; xdg.portal.lxqt.enable = false;
systemd.user.services.xdg-desktop-portal-gnome.enable = false; systemd.user.services.xdg-desktop-portal-gnome.enable = false;

View file

@ -53,6 +53,8 @@ in {
wl-clipboard wl-clipboard
pavucontrol pavucontrol
wofi wofi
dolphin
xdg-utils # xdg-mime script
]; ];
}; };
} }