wpaperd: init (#383)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
290c8aef47
commit
00a11ba2f0
1 changed files with 9 additions and 0 deletions
9
modules/wpaperd/hm.nix
Normal file
9
modules/wpaperd/hm.nix
Normal 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}";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue