Clean & debug files

This commit is contained in:
2026-04-05 15:27:38 +02:00
parent 6bd07b8f7e
commit 751f7e05c9
10 changed files with 41 additions and 10 deletions
+19
View File
@@ -0,0 +1,19 @@
{
config,
...
}:
let
wallpaperPath = "${config.home.homeDirectory}/.config/wallpaper/current-wallpaper.jpg";
in
{
# Create wallpaper directory and download wallpaper
home.file.".config/wallpaper/current-wallpaper.jpg" = {
source = ./walls.jpg;
};
# Set wallpaper using activation script
home.activation.setWallpaper = config.lib.dag.entryAfter [ "writeBoundary" ] ''
# Set wallpaper for all desktops using osascript
$DRY_RUN_CMD /usr/bin/osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${wallpaperPath}\""
'';
}
+6
View File
@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
aria2
];
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 526 KiB