before npins

This commit is contained in:
atagen 2025-04-06 23:50:50 +10:00
parent d429476553
commit 63fbd6d499
22 changed files with 627 additions and 330 deletions

View file

@ -1,16 +1,19 @@
{ pkgs }:
{ pkgs, lib }:
{
palette,
wallpaper,
}:
let
str_pal =
with pkgs.lib;
let
inherit (lib) concatStringsSep;
inherit (builtins) foldl' attrValues;
in
concatStringsSep " " (
builtins.foldl' (acc: el: acc ++ (attrValues el)) [ ] [ palette.normal palette.bright palette.util ]
foldl' (acc: el: acc ++ (attrValues el)) [ ] [ palette.normal palette.bright palette.util ]
);
in
pkgs.stdenv.mkDerivation rec {
pkgs.stdenv.mkDerivation {
name = "generated-wallpaper.png";
src = wallpaper;
buildInputs = [