mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
Add wallpaper options (setWallpaperOnAllMonitors, linkLightAndDarkWallpapers, fillMode=crop). Set specific wallpaper file path instead of directory. Fix noctalia.nix indentation. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
27 lines
531 B
Nix
27 lines
531 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
walls = pkgs.fetchFromGitHub {
|
|
owner = "moons-14";
|
|
repo = "wallpapers";
|
|
rev = "cc3256f4aaf2c8e7d16fb000b1ee251af54085db";
|
|
hash = "sha256-emQ/FqKqMq3YI5bLx8gBZg/ZE72OG9Ilh71ggq78WdQ=";
|
|
};
|
|
in {
|
|
home.file.".wallpapers" = {
|
|
source = walls;
|
|
recursive = true;
|
|
};
|
|
|
|
home.file.".cache/noctalia/wallpapers.json" = {
|
|
text = builtins.toJSON {
|
|
defaultWallpaper = "~/.wallpapers/1.jpg";
|
|
wallpapers = {
|
|
"DP-1" = "~/.wallpapers/1.jpg";
|
|
};
|
|
};
|
|
};
|
|
}
|