Regenerated

This commit is contained in:
2026-03-22 07:08:43 +00:00
parent d12c22aed7
commit 14815244c1
31 changed files with 0 additions and 1528 deletions
@@ -1,27 +0,0 @@
{ lib, config, ... }:
let
username = config.defaultUser or "henrov";
# Include the source folder in the Nix store
assetPath = builtins.path { path = ../../../assets/copy_2_home; };
in
{
_module.args.hmUsers = {
# Ensure this user entry merges safely with other modules
${username} = lib.mkMerge [
# Any previous _module.args.hmUsers.${username} entries from other modules will merge automatically
{
# Activation script to copy all assets into $HOME
home.activation.copyAssets = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
echo "Copying assets from ${assetPath} to home directory..."
# Copy recursively, overwrite existing files, leave other files untouched
cp -rT ${assetPath} "$HOME"
echo "Done copying assets."
'';
}
];
};
}