Regenerated

This commit is contained in:
2026-03-22 19:00:30 +00:00
parent fb5c05f49f
commit ff921ffc81
33 changed files with 0 additions and 1512 deletions
-21
View File
@@ -1812,26 +1812,5 @@ in
target = ".config/${programName}/${name}";
})
else {};
# Optional systemd service to sync assets manually
systemd.services."${programName}-sync" = {
description = "Sync ${programName} configuration files";
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = ''
set -euo pipefail
if [ -d "${assetPath}" ]; then
mkdir -p "/home/${username}/.config/${programName}"
cp -u ${lib.concatStringsSep " " (builtins.attrNames (builtins.readDir assetPath))} "${assetPath}/" "/home/${username}/.config/${programName}/"
fi
'';
};
restartTriggers = [ assetPath ];
path = [];
};
}
#+END_SRC