1
1
Fork 0
nixos/options/custom/programs/wpaperd.nix

22 lines
408 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
let
cfg = config.custom.programs.wpaperd;
in
{
options.custom.programs.wpaperd.enable = mkOption { default = false; };
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://github.com/danyspin97/wpaperd
programs.wpaperd = {
enable = true;
settings.default = {
path = "/tmp/altered.png";
};
};
};
}