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

@@ -1,9 +1,11 @@
{ import-tree, ... }:
{
home-manager.users.alistreaza = {
imports = [
(import-tree ../../../modules/home/common)
(import-tree ../../../modules/home/darwin)
(import-tree ../../../../modules/home/common)
(import-tree ../../../../modules/home/darwin)
(import-tree ../partials)
];
home = {
@@ -41,7 +41,6 @@ with lib.hm.gvariant;
};
"org/gnome/desktop/interface" = {
icon-theme = "Papirus";
accent-color = "teal";
color-scheme = "prefer-dark";
};
+10
View File
@@ -0,0 +1,10 @@
{ ... }:
{
xdg = {
userDirs = {
enable = true;
createDirectories = true;
};
};
}