Regenerated

This commit is contained in:
2026-03-21 20:43:49 +00:00
parent 8f85db45d5
commit bef6d407b6
30 changed files with 1508 additions and 0 deletions
@@ -0,0 +1,28 @@
{ lib, config, pkgs, inputs, ... }:
let
username = config.defaultUser or "henrov";
# XDG portal package, fallback to flake input if needed
xdgPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland or
inputs.xdgPortalHyprland.packages.${pkgs.system}.default;
in
{
# Enable XDG portal system-wide
services.xdg.portal.enable = true;
# Home Manager user settings
_module.args.hmUsers = {
${username} = {
home.packages = [ xdgPortalHyprlandPkg ];
xdg.portal = {
enable = true;
extraPortals = [ xdgPortalHyprlandPkg ];
config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
};
};
};
};
}