nixos/home/david/modules/wallpaper/default.nix
ulic-youthlic 47dac088a4
add wallpapers, using git-lfs to manage it
update niri background settings for wallpaper
2025-01-14 20:09:47 +08:00

22 lines
375 B
Nix

{ lib, config, ... }:
let
cfg = config.david.wallpaper;
in
{
options = {
david.wallpaper = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
};
};
};
config = lib.mkIf cfg.enable {
home.file."wallpaper" = {
force = true;
recursive = true;
source = ./pic;
};
};
}