Regenerated
This commit is contained in:
+301
-300
File diff suppressed because it is too large
Load Diff
+13
-12
@@ -1833,17 +1833,18 @@ let
|
|||||||
gatherFiles = dir:
|
gatherFiles = dir:
|
||||||
let
|
let
|
||||||
entries = builtins.attrNames (builtins.readDir dir);
|
entries = builtins.attrNames (builtins.readDir dir);
|
||||||
files = lib.concatMap (e:
|
in lib.concatMap (e:
|
||||||
let
|
let
|
||||||
path = "${dir}/${e}";
|
path = "${dir}/${e}";
|
||||||
in if builtins.pathInfo path.type == "directory"
|
# readDir geeft een attributenset, directories hebben type "directory"
|
||||||
then gatherFiles path
|
stat = builtins.readDir path;
|
||||||
else [{
|
in if stat != {} then
|
||||||
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
|
gatherFiles path
|
||||||
value = { source = path; };
|
else [{
|
||||||
}]
|
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
|
||||||
) entries;
|
value = { source = path; };
|
||||||
in files;
|
}]
|
||||||
|
) entries;
|
||||||
|
|
||||||
hyprFilesAttrs = lib.listToAttrs (gatherFiles assetPath);
|
hyprFilesAttrs = lib.listToAttrs (gatherFiles assetPath);
|
||||||
|
|
||||||
@@ -1853,7 +1854,7 @@ in
|
|||||||
|
|
||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
${username} = {
|
${username} = {
|
||||||
# Place all files (and subdirectories) into ~/.config/hypr/
|
# Place all files (including subdirectories) into ~/.config/hypr/
|
||||||
home.file = hyprFilesAttrs;
|
home.file = hyprFilesAttrs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,17 +13,18 @@ let
|
|||||||
gatherFiles = dir:
|
gatherFiles = dir:
|
||||||
let
|
let
|
||||||
entries = builtins.attrNames (builtins.readDir dir);
|
entries = builtins.attrNames (builtins.readDir dir);
|
||||||
files = lib.concatMap (e:
|
in lib.concatMap (e:
|
||||||
let
|
let
|
||||||
path = "${dir}/${e}";
|
path = "${dir}/${e}";
|
||||||
in if builtins.pathInfo path.type == "directory"
|
# readDir geeft een attributenset, directories hebben type "directory"
|
||||||
then gatherFiles path
|
stat = builtins.readDir path;
|
||||||
else [{
|
in if stat != {} then
|
||||||
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
|
gatherFiles path
|
||||||
value = { source = path; };
|
else [{
|
||||||
}]
|
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
|
||||||
) entries;
|
value = { source = path; };
|
||||||
in files;
|
}]
|
||||||
|
) entries;
|
||||||
|
|
||||||
hyprFilesAttrs = lib.listToAttrs (gatherFiles assetPath);
|
hyprFilesAttrs = lib.listToAttrs (gatherFiles assetPath);
|
||||||
|
|
||||||
@@ -33,7 +34,7 @@ in
|
|||||||
|
|
||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
${username} = {
|
${username} = {
|
||||||
# Place all files (and subdirectories) into ~/.config/hypr/
|
# Place all files (including subdirectories) into ~/.config/hypr/
|
||||||
home.file = hyprFilesAttrs;
|
home.file = hyprFilesAttrs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user