Regenerated
This commit is contained in:
+407
-396
File diff suppressed because it is too large
Load Diff
+15
-4
@@ -1245,7 +1245,8 @@ let
|
||||
homeDir = "/home/${username}";
|
||||
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
|
||||
wallpaperDst = "${homeDir}/Wallpapers";
|
||||
randoScript = "${homeDir}/.config/awww/scripts/randomizeWallpapers.sh";
|
||||
sysname = "awww";
|
||||
randoScript = "${homeDir}/.config/${sysname}/scripts/randomizeWallpapers.sh";
|
||||
in
|
||||
{
|
||||
# Make bash available
|
||||
@@ -1260,7 +1261,18 @@ in
|
||||
# This can not be done using a prepared script
|
||||
home-manager.users = {
|
||||
${username} = {
|
||||
home.file = {
|
||||
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 = {
|
||||
"copy-wallpapers.sh" = {
|
||||
text = ''
|
||||
#!/run/current-system/sw/bin/bash
|
||||
@@ -1280,11 +1292,10 @@ in
|
||||
'';
|
||||
executable = true;
|
||||
force = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
# User service to run the script that copies the Wallpaperstuff
|
||||
systemd.user.services.copyWallpapers = {
|
||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||
|
||||
@@ -6,7 +6,8 @@ let
|
||||
homeDir = "/home/${username}";
|
||||
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
|
||||
wallpaperDst = "${homeDir}/Wallpapers";
|
||||
randoScript = "${homeDir}/.config/awww/scripts/randomizeWallpapers.sh";
|
||||
sysname = "awww";
|
||||
randoScript = "${homeDir}/.config/${sysname}/scripts/randomizeWallpapers.sh";
|
||||
in
|
||||
{
|
||||
# Make bash available
|
||||
@@ -21,7 +22,18 @@ in
|
||||
# This can not be done using a prepared script
|
||||
home-manager.users = {
|
||||
${username} = {
|
||||
home.file = {
|
||||
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 = {
|
||||
"copy-wallpapers.sh" = {
|
||||
text = ''
|
||||
#!/run/current-system/sw/bin/bash
|
||||
@@ -41,11 +53,10 @@ in
|
||||
'';
|
||||
executable = true;
|
||||
force = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
# User service to run the script that copies the Wallpaperstuff
|
||||
systemd.user.services.copyWallpapers = {
|
||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||
|
||||
Reference in New Issue
Block a user