Regenerated

This commit is contained in:
2026-03-30 00:22:36 +00:00
parent 44478b96f3
commit ee2340c679
3 changed files with 303 additions and 303 deletions
+293 -293
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -1829,17 +1829,15 @@ let
pkgs.hyprland-git or pkgs.hyprland-git or
inputs.hyprland.packages.${pkgs.system}.default; inputs.hyprland.packages.${pkgs.system}.default;
# Recursively gather files as Home Manager entries # Recursively gather all files as Home Manager entries
gatherFiles = dir: gatherFiles = dir:
let let
entries = builtins.attrNames (builtins.readDir dir); entries = builtins.attrNames (builtins.readDir dir);
in lib.concatMap (e: in lib.concatMap (e:
let let
path = "${dir}/${e}"; path = "${dir}/${e}";
# readDir geeft een attributenset, directories hebben type "directory"
stat = builtins.readDir path; stat = builtins.readDir path;
in if stat != {} then in if stat != {} then gatherFiles path
gatherFiles path
else [{ else [{
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}"; name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
value = { source = path; }; value = { source = path; };
@@ -1850,11 +1848,13 @@ let
in in
{ {
# Install Hyprland systemwide
environment.systemPackages = [ hyprlandPkg ]; environment.systemPackages = [ hyprlandPkg ];
# Home Manager user configuration
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
# Place all files (including subdirectories) into ~/.config/hypr/ # Ensure all generated files end up in ~/.config/hypr
home.file = hyprFilesAttrs; home.file = hyprFilesAttrs;
}; };
}; };
@@ -9,17 +9,15 @@ let
pkgs.hyprland-git or pkgs.hyprland-git or
inputs.hyprland.packages.${pkgs.system}.default; inputs.hyprland.packages.${pkgs.system}.default;
# Recursively gather files as Home Manager entries # Recursively gather all files as Home Manager entries
gatherFiles = dir: gatherFiles = dir:
let let
entries = builtins.attrNames (builtins.readDir dir); entries = builtins.attrNames (builtins.readDir dir);
in lib.concatMap (e: in lib.concatMap (e:
let let
path = "${dir}/${e}"; path = "${dir}/${e}";
# readDir geeft een attributenset, directories hebben type "directory"
stat = builtins.readDir path; stat = builtins.readDir path;
in if stat != {} then in if stat != {} then gatherFiles path
gatherFiles path
else [{ else [{
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}"; name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
value = { source = path; }; value = { source = path; };
@@ -30,11 +28,13 @@ let
in in
{ {
# Install Hyprland systemwide
environment.systemPackages = [ hyprlandPkg ]; environment.systemPackages = [ hyprlandPkg ];
# Home Manager user configuration
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
# Place all files (including subdirectories) into ~/.config/hypr/ # Ensure all generated files end up in ~/.config/hypr
home.file = hyprFilesAttrs; home.file = hyprFilesAttrs;
}; };
}; };