Regenerated

This commit is contained in:
2026-03-30 00:19:52 +00:00
parent d56d23ad37
commit 44478b96f3
3 changed files with 327 additions and 324 deletions
+301 -300
View File
File diff suppressed because it is too large Load Diff
+13 -12
View File
@@ -1833,17 +1833,18 @@ let
gatherFiles = dir:
let
entries = builtins.attrNames (builtins.readDir dir);
files = lib.concatMap (e:
let
path = "${dir}/${e}";
in if builtins.pathInfo path.type == "directory"
then gatherFiles path
else [{
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
value = { source = path; };
}]
) entries;
in files;
in lib.concatMap (e:
let
path = "${dir}/${e}";
# readDir geeft een attributenset, directories hebben type "directory"
stat = builtins.readDir path;
in if stat != {} then
gatherFiles path
else [{
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
value = { source = path; };
}]
) entries;
hyprFilesAttrs = lib.listToAttrs (gatherFiles assetPath);
@@ -1853,7 +1854,7 @@ in
home-manager.users = {
${username} = {
# Place all files (and subdirectories) into ~/.config/hypr/
# Place all files (including subdirectories) into ~/.config/hypr/
home.file = hyprFilesAttrs;
};
};
@@ -13,17 +13,18 @@ let
gatherFiles = dir:
let
entries = builtins.attrNames (builtins.readDir dir);
files = lib.concatMap (e:
let
path = "${dir}/${e}";
in if builtins.pathInfo path.type == "directory"
then gatherFiles path
else [{
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
value = { source = path; };
}]
) entries;
in files;
in lib.concatMap (e:
let
path = "${dir}/${e}";
# readDir geeft een attributenset, directories hebben type "directory"
stat = builtins.readDir path;
in if stat != {} then
gatherFiles path
else [{
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
value = { source = path; };
}]
) entries;
hyprFilesAttrs = lib.listToAttrs (gatherFiles assetPath);
@@ -33,7 +34,7 @@ in
home-manager.users = {
${username} = {
# Place all files (and subdirectories) into ~/.config/hypr/
# Place all files (including subdirectories) into ~/.config/hypr/
home.file = hyprFilesAttrs;
};
};