Regenerated
This commit is contained in:
+405
-394
File diff suppressed because it is too large
Load Diff
+13
-2
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user