wpaperd initial config
This commit is contained in:
parent
cc5810c890
commit
b9824d3aa7
14 changed files with 205 additions and 192 deletions
22
modules/services/wpaperd.nix
Normal file
22
modules/services/wpaperd.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
}: let
|
||||
inherit (config.modules.other.system) username;
|
||||
cfg = config.modules.usrEnv.services.wpaperd;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
programs.wpaperd = {
|
||||
enable = true;
|
||||
package = pkgs.wpaperd;
|
||||
settings.any = {
|
||||
mode = "center";
|
||||
path = "/home/vali/projects/nichts/assets/wallpapers/river.png";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue