Regenerated
This commit is contained in:
+301
-293
File diff suppressed because it is too large
Load Diff
+13
-5
@@ -3175,7 +3175,10 @@ This sets the XDG implementation
|
|||||||
let
|
let
|
||||||
# Use the config option defaultUser directly, fallback to "henrov"
|
# Use the config option defaultUser directly, fallback to "henrov"
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
xdgPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland;
|
|
||||||
|
# Portal backends
|
||||||
|
basePortal = pkgs.xdg-desktop-portal-gtk; # full portal implementation
|
||||||
|
hyprlandPortal = pkgs.xdg-desktop-portal-hyprland; # Hyprland screencast
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
#################################
|
#################################
|
||||||
@@ -3183,16 +3186,20 @@ in
|
|||||||
#################################
|
#################################
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
|
|
||||||
# Use Hyprland portal backend specifically for screencast
|
# Base + Hyprland portals
|
||||||
|
xdg.portal.extraPortals = [ basePortal hyprlandPortal ];
|
||||||
|
|
||||||
|
# Map screencast interface explicitly to Hyprland
|
||||||
xdg.portal.configPackages = {
|
xdg.portal.configPackages = {
|
||||||
"org.freedesktop.impl.portal.Screencast" = [ xdgPortalHyprlandPkg ];
|
"org.freedesktop.impl.portal.Screencast" = [ hyprlandPortal ];
|
||||||
};
|
};
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Install portal packages system-wide
|
# Install portal packages system-wide
|
||||||
#################################
|
#################################
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
xdgPortalHyprlandPkg
|
basePortal
|
||||||
|
hyprlandPortal
|
||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -3201,7 +3208,8 @@ in
|
|||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
${username} = {
|
${username} = {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
xdgPortalHyprlandPkg
|
basePortal
|
||||||
|
hyprlandPortal
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,7 +3,10 @@
|
|||||||
let
|
let
|
||||||
# Use the config option defaultUser directly, fallback to "henrov"
|
# Use the config option defaultUser directly, fallback to "henrov"
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
xdgPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland;
|
|
||||||
|
# Portal backends
|
||||||
|
basePortal = pkgs.xdg-desktop-portal-gtk; # full portal implementation
|
||||||
|
hyprlandPortal = pkgs.xdg-desktop-portal-hyprland; # Hyprland screencast
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
#################################
|
#################################
|
||||||
@@ -11,16 +14,20 @@ in
|
|||||||
#################################
|
#################################
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
|
|
||||||
# Use Hyprland portal backend specifically for screencast
|
# Base + Hyprland portals
|
||||||
|
xdg.portal.extraPortals = [ basePortal hyprlandPortal ];
|
||||||
|
|
||||||
|
# Map screencast interface explicitly to Hyprland
|
||||||
xdg.portal.configPackages = {
|
xdg.portal.configPackages = {
|
||||||
"org.freedesktop.impl.portal.Screencast" = [ xdgPortalHyprlandPkg ];
|
"org.freedesktop.impl.portal.Screencast" = [ hyprlandPortal ];
|
||||||
};
|
};
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Install portal packages system-wide
|
# Install portal packages system-wide
|
||||||
#################################
|
#################################
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
xdgPortalHyprlandPkg
|
basePortal
|
||||||
|
hyprlandPortal
|
||||||
];
|
];
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -29,7 +36,8 @@ in
|
|||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
${username} = {
|
${username} = {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
xdgPortalHyprlandPkg
|
basePortal
|
||||||
|
hyprlandPortal
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user