add wallpapers, using git-lfs to manage it

update niri background settings for wallpaper
This commit is contained in:
ulic-youthlic 2025-01-13 12:01:21 +08:00
parent dd77858199
commit 47dac088a4
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 39 additions and 2 deletions

View file

@ -1 +1,6 @@
{ ... }: { }
{ ... }:
{
imports = [
./wallpaper
];
}

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;
};
};
}

BIN
home/david/modules/wallpaper/pic/01.png (Stored with Git LFS) Normal file

Binary file not shown.