mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
14 lines
334 B
Nix
14 lines
334 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.services.wpaperd.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.services.wpaperd.enable {
|
|
services.wpaperd = {
|
|
enable = true;
|
|
settings.default = {
|
|
path = "${config.xdg.userDirs.pictures}/Wallpapers";
|
|
duration = "30m";
|
|
};
|
|
};
|
|
};
|
|
}
|