Regenerated

This commit is contained in:
2026-03-21 20:45:54 +00:00
parent bef6d407b6
commit a2438b624e
31 changed files with 11 additions and 1513 deletions
+11 -5
View File
@@ -513,21 +513,27 @@ This sets the XDG implementation
{ lib, config, pkgs, inputs, ... }:
let
# Default user fallback
username = config.defaultUser or "henrov";
# XDG portal package, fallback to flake input if needed
# Safe package reference with flake input fallback
xdgPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland or
inputs.xdgPortalHyprland.packages.${pkgs.system}.default;
in
{
# Enable XDG portal system-wide
services.xdg.portal.enable = true;
# System-wide installation of XDG portal package
environment.systemPackages = [
xdgPortalHyprlandPkg
];
# Home Manager user settings
# Home Manager user configuration
_module.args.hmUsers = {
${username} = {
home.packages = [ xdgPortalHyprlandPkg ];
home.packages = [
xdgPortalHyprlandPkg
];
# Enable XDG portal for Hyprland
xdg.portal = {
enable = true;
extraPortals = [ xdgPortalHyprlandPkg ];