just some wallpapers. If there's one you want to take down, just lmk.
- Nix 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| wallpapers | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
wallpapers
just some wallpapers. If there's one you want to take down, just lmk.
flake usage
Add as an input (optionally following your nixpkgs):
wallpapers = {
url = "git+https://git.jingus.dev/jingus/wallpapers";
inputs.nixpkgs.follows = "nixpkgs";
};
Outputs:
lib.wallpapers- store path containing every wallpaper inwallpapers/lib.wallpaperNames- list of all wallpaper filenameslib.getWallpaper "name.jpg"- store path for a single wallpaper (throws on a bad name)packages.<system>.wallpapers/packages.<system>.default- derivation with all wallpapers symlinked into$out(fornix build)
Example:
background = inputs.wallpapers.lib.getWallpaper "samurai.png";