Regenerated

This commit is contained in:
2026-03-30 12:34:31 +00:00
parent 1c486dc51e
commit 8f5c5a0f4f
3 changed files with 327 additions and 303 deletions
+301 -293
View File
File diff suppressed because it is too large Load Diff
+13 -5
View File
@@ -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
]; ];
}; };
}; };