{ lib, config, pkgs, flakeRoot, ... }: let username = config.defaultUser or "henrov"; scriptsPath = flakeRoot + "/generated/.config/scripts"; in { home-manager.users.${username} = { home.file.".config/scripts" = { source = scriptsPath; recursive = true; }; home.file.".config/scripts/update.sh" = { source = scriptsPath + "/update.sh"; executable = true; }; }; }