1
0
Fork 0
mirror of https://github.com/NixOS/nixos-artwork synced 2024-10-18 00:06:24 -04:00
nixos-artwork/default.nix
Samuel Dionne-Riel 31e6d5e924 default.nix: Add bootloader output
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-04-09 18:01:09 -04:00

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)" ];
}
) {};
}