add wallpapers, using git-lfs to manage it
update niri background settings for wallpaper
This commit is contained in:
parent
dd77858199
commit
47dac088a4
7 changed files with 39 additions and 2 deletions
|
|
@ -1 +1,6 @@
|
|||
{ ... }: { }
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./wallpaper
|
||||
];
|
||||
}
|
||||
|
|
|
|||
22
home/david/modules/wallpaper/default.nix
Normal file
22
home/david/modules/wallpaper/default.nix
Normal 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
BIN
home/david/modules/wallpaper/pic/01.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue