mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
23 lines
429 B
Nix
Executable file
23 lines
429 B
Nix
Executable file
{
|
|
flake,
|
|
osConfig,
|
|
...
|
|
}:
|
|
let
|
|
inherit (flake.config.machines.devices) deimos;
|
|
hostname = osConfig.networking.hostName;
|
|
in
|
|
{
|
|
services.wpaperd = {
|
|
enable = true;
|
|
settings = {
|
|
"default" = {
|
|
path = "~/.config/wallpaper";
|
|
apply-shadow = true;
|
|
duration = "1m";
|
|
sorting = "random";
|
|
}
|
|
// (if hostname == deimos.name then { mode = "center"; } else { });
|
|
};
|
|
};
|
|
}
|