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 = {
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 = {
common = {
default = [ "gtk" ];

View file

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

View file

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