Added portals to home/desktop/hypreland.nix
This commit is contained in:
+256
-234
File diff suppressed because it is too large
Load Diff
@@ -1094,6 +1094,11 @@ The configuration is done in the home manager section.
|
|||||||
];
|
];
|
||||||
config.common.default = [ "hyprland" "gtk" ];
|
config.common.default = [ "hyprland" "gtk" ];
|
||||||
};
|
};
|
||||||
|
# Hyprland alleen voor screensharing / remote desktop
|
||||||
|
config.hyprland = {
|
||||||
|
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
|
||||||
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
walker
|
walker
|
||||||
uwsm
|
uwsm
|
||||||
@@ -1509,6 +1514,23 @@ in
|
|||||||
source = flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
|
source = flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
|
||||||
|
# GTK als algemene backend (OpenURI is daar betrouwbaar)
|
||||||
|
config.common.default = [ "gtk" ];
|
||||||
|
|
||||||
|
# Hyprland alleen voor screensharing / remote desktop
|
||||||
|
config.hyprland = {
|
||||||
|
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,11 @@
|
|||||||
];
|
];
|
||||||
config.common.default = [ "hyprland" "gtk" ];
|
config.common.default = [ "hyprland" "gtk" ];
|
||||||
};
|
};
|
||||||
|
# Hyprland alleen voor screensharing / remote desktop
|
||||||
|
config.hyprland = {
|
||||||
|
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
|
||||||
|
};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
walker
|
walker
|
||||||
uwsm
|
uwsm
|
||||||
|
|||||||
Binary file not shown.
@@ -20,4 +20,21 @@ in
|
|||||||
source = flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
|
source = flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
|
||||||
|
# GTK als algemene backend (OpenURI is daar betrouwbaar)
|
||||||
|
config.common.default = [ "gtk" ];
|
||||||
|
|
||||||
|
# Hyprland alleen voor screensharing / remote desktop
|
||||||
|
config.hyprland = {
|
||||||
|
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||||||
|
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user