wpaperd: init (#383)

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
mham 2024-05-27 00:29:37 +07:00 committed by GitHub
parent 290c8aef47
commit 00a11ba2f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

9
modules/wpaperd/hm.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, ... }:
{
options.stylix.targets.wpaperd.enable = config.lib.stylix.mkEnableTarget "wpaperd" true;
config = lib.mkIf config.stylix.targets.wpaperd.enable {
programs.wpaperd.settings.any.path = "${config.stylix.image}";
};
}