mirror of
https://github.com/NixOS/nixos-artwork
synced 2024-10-18 00:06:24 -04:00
31e6d5e924
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
32 lines
674 B
Nix
32 lines
674 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
{
|
|
bootloader = pkgs.callPackage (
|
|
{ stdenv
|
|
, lib
|
|
, grub2_efi
|
|
}:
|
|
stdenv.mkDerivation {
|
|
name = "nixos-grub-installer-theme";
|
|
srcs = lib.cleanSource ./.;
|
|
sourceRoot = "source/bootloader";
|
|
nativeBuildInputs = [ grub2_efi ];
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
}
|
|
) {};
|
|
icons = pkgs.callPackage (
|
|
{ stdenv
|
|
, lib
|
|
, inkscape
|
|
, imagemagick
|
|
}:
|
|
stdenv.mkDerivation {
|
|
name = "nixos-icons";
|
|
srcs = lib.cleanSource ./.;
|
|
sourceRoot = "source/icons";
|
|
nativeBuildInputs = [ inkscape imagemagick ];
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
}
|
|
) {};
|
|
}
|