more portal magic

This commit is contained in:
Adithya 2024-02-18 15:32:45 +05:30
parent ba777fc024
commit 19fd84fa24
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 8 additions and 2 deletions

View file

@ -18,7 +18,9 @@
}; };
}; };
portal = { portal = {
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; enable = true;
xdgOpenUsePortal = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-gnome xdg-desktop-portal-hyprland ];
config = { config = {
common = { common = {
default = [ "gtk" ]; default = [ "gtk" ];

View file

@ -22,7 +22,10 @@ in
{ {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.enable = true; systemd = {
enable = true;
variables = [ "--all" ];
};
settings = { settings = {
general = { general = {
border_size = 1; border_size = 1;

View file

@ -62,6 +62,7 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
xdgOpenUsePortal = true;
config.common.default = [ "gtk" ]; config.common.default = [ "gtk" ];
}; };