Regenerated

This commit is contained in:
2026-03-30 12:21:03 +00:00
parent 6f920e748b
commit f1c8632f1f
3 changed files with 330 additions and 357 deletions
+302 -311
View File
File diff suppressed because it is too large Load Diff
+14 -23
View File
@@ -3170,48 +3170,39 @@ keybindings = ~/.config/waypaper/keybindings.ini
** =generated/modules/traveldroid/desktop/xdg.nix=
This sets the XDG implementation
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/xdg.nix :noweb yes :mkdirp yes :eval never
{ lib, config, pkgs, inputs, ... }:
{ lib, config, pkgs, flakeRoot, ... }:
let
#################################
# Default username fallback
#################################
# Use the config option defaultUser directly, fallback to "henrov"
username = config.defaultUser or "henrov";
#################################
# Determine XDG portal package
#################################
xdgPortalHyprlandPkg =
pkgs.xdg-desktop-portal-hyprland or
inputs.xdgPortalHyprland.packages.${pkgs.system}.default;
xdgPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland;
in
{
#################################
# System-wide packages
# Enable XDG desktop portals system-wide
#################################
xdg.portal.enable = true;
xdg.portal.extraPortals = [ xdgPortalHyprlandPkg ];
#################################
# Install XDG portal package system-wide
#################################
environment.systemPackages = [
xdgPortalHyprlandPkg
];
#################################
# Home Manager user config
# Home Manager user configuration
#################################
_module.args.hmUsers = {
home-manager.users = {
${username} = {
home.packages = [
xdgPortalHyprlandPkg
];
# Enable XDG portal integration for Hyprland
xdg.portal = {
enable = true;
extraPortals = [ xdgPortalHyprlandPkg ];
config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
};
};
};
};
} };
};
}
#+END_SRC
@@ -1,43 +1,34 @@
{ lib, config, pkgs, inputs, ... }:
{ lib, config, pkgs, flakeRoot, ... }:
let
#################################
# Default username fallback
#################################
# Use the config option defaultUser directly, fallback to "henrov"
username = config.defaultUser or "henrov";
#################################
# Determine XDG portal package
#################################
xdgPortalHyprlandPkg =
pkgs.xdg-desktop-portal-hyprland or
inputs.xdgPortalHyprland.packages.${pkgs.system}.default;
xdgPortalHyprlandPkg = pkgs.xdg-desktop-portal-hyprland;
in
{
#################################
# System-wide packages
# Enable XDG desktop portals system-wide
#################################
xdg.portal.enable = true;
xdg.portal.extraPortals = [ xdgPortalHyprlandPkg ];
#################################
# Install XDG portal package system-wide
#################################
environment.systemPackages = [
xdgPortalHyprlandPkg
];
#################################
# Home Manager user config
# Home Manager user configuration
#################################
_module.args.hmUsers = {
home-manager.users = {
${username} = {
home.packages = [
xdgPortalHyprlandPkg
];
# Enable XDG portal integration for Hyprland
xdg.portal = {
enable = true;
extraPortals = [ xdgPortalHyprlandPkg ];
config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
};
};
};
};
} };
};
}