wallpapers as package

This commit is contained in:
EdenQwQ 2025-03-27 20:51:41 +08:00
parent 94f67cb98c
commit 1e92d162c8
7 changed files with 94 additions and 48 deletions

View file

@ -9,13 +9,10 @@ let
type = str;
description = "Name of the wallpaper";
};
url = mkOption {
type = str;
description = "URL of the wallpaper";
};
sha256 = mkOption {
type = str;
description = "SHA256 of the wallpaper";
path = mkOption {
type = nullOr path;
description = "Path to the wallpaper, ${pkgs.wallpapers}/name by default";
default = null;
};
convertMethod = mkOption {
type = str;