add wallpapers, using git-lfs to manage it

This commit is contained in:
ulic-youthlic 2025-01-13 12:01:21 +08:00
parent c466bf231d
commit bac7180c0c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
6 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ 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;
};
};
}