Regenerated

This commit is contained in:
2026-03-22 14:15:59 +00:00
parent 3e982c1a02
commit 10b17ac6a2
32 changed files with 6 additions and 1595 deletions
+6 -7
View File
@@ -351,17 +351,13 @@ in
environment.systemPackages = [ pkgs.rsync ];
systemd.user.services.copyAssets = {
enable = true;
description = "Copy assets to home directory";
wantedBy = [ "default.target" ];
serviceConfig = {
Type = "oneshot";
};
script = ''
# This is the proper field for commands
ExecStart = ''
echo "Copying assets from ${assetPath} to ${homeDir} ..."
if [ ! -d "${assetPath}" ]; then
@@ -376,8 +372,11 @@ in
echo "Done copying assets."
'';
};
}
# Make sure the user manager is enabled for the default user
users.users.${username}.extraGroups = [ "wheel" ]; # optional
systemd.enableUserServices = true;
}
#+END_SRC