mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-01-08 04:07:29 +08:00
wallpapers as package
This commit is contained in:
parent
94f67cb98c
commit
1e92d162c8
7 changed files with 94 additions and 48 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue