Regenerated

This commit is contained in:
2026-04-29 14:55:46 +02:00
parent 6fd0fc4cd4
commit dc7eb3a11a
3 changed files with 437 additions and 404 deletions
+405 -394
View File
File diff suppressed because it is too large Load Diff
+13 -2
View File
@@ -1245,7 +1245,8 @@ let
homeDir = "/home/${username}"; homeDir = "/home/${username}";
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers"; wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
wallpaperDst = "${homeDir}/Wallpapers"; wallpaperDst = "${homeDir}/Wallpapers";
randoScript = "${homeDir}/.config/awww/scripts/randomizeWallpapers.sh"; sysname = "awww";
randoScript = "${homeDir}/.config/${sysname}/scripts/randomizeWallpapers.sh";
in in
{ {
# Make bash available # Make bash available
@@ -1260,6 +1261,17 @@ in
# This can not be done using a prepared script # This can not be done using a prepared script
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
home.activation.MakeWaybarMutable = {
after = [ "writeBoundary" ];
before = [];
data = ''
rm -rf $HOME/.config/${sysName}
mkdir -p $HOME/.config/${sysName}
cp -r ${assetPath}/* $HOME/.config/${sysName}/
chmod -R u+w $HOME/.config/${sysName}/
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
home.file = { home.file = {
"copy-wallpapers.sh" = { "copy-wallpapers.sh" = {
text = '' text = ''
@@ -1284,7 +1296,6 @@ in
}; };
}; };
}; };
# User service to run the script that copies the Wallpaperstuff # User service to run the script that copies the Wallpaperstuff
systemd.user.services.copyWallpapers = { systemd.user.services.copyWallpapers = {
description = "Copy wallpapers from repo to ~/Wallpapers"; description = "Copy wallpapers from repo to ~/Wallpapers";
@@ -6,7 +6,8 @@ let
homeDir = "/home/${username}"; homeDir = "/home/${username}";
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers"; wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
wallpaperDst = "${homeDir}/Wallpapers"; wallpaperDst = "${homeDir}/Wallpapers";
randoScript = "${homeDir}/.config/awww/scripts/randomizeWallpapers.sh"; sysname = "awww";
randoScript = "${homeDir}/.config/${sysname}/scripts/randomizeWallpapers.sh";
in in
{ {
# Make bash available # Make bash available
@@ -21,6 +22,17 @@ in
# This can not be done using a prepared script # This can not be done using a prepared script
home-manager.users = { home-manager.users = {
${username} = { ${username} = {
home.activation.MakeWaybarMutable = {
after = [ "writeBoundary" ];
before = [];
data = ''
rm -rf $HOME/.config/${sysName}
mkdir -p $HOME/.config/${sysName}
cp -r ${assetPath}/* $HOME/.config/${sysName}/
chmod -R u+w $HOME/.config/${sysName}/
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
home.file = { home.file = {
"copy-wallpapers.sh" = { "copy-wallpapers.sh" = {
text = '' text = ''
@@ -45,7 +57,6 @@ in
}; };
}; };
}; };
# User service to run the script that copies the Wallpaperstuff # User service to run the script that copies the Wallpaperstuff
systemd.user.services.copyWallpapers = { systemd.user.services.copyWallpapers = {
description = "Copy wallpapers from repo to ~/Wallpapers"; description = "Copy wallpapers from repo to ~/Wallpapers";