Update custom-build-plan, cleanup Makefile and flake a bit

This commit is contained in:
Evie Litherland-Smith 2024-06-07 19:56:15 +01:00
parent 7f40cec513
commit 8848d889ab
3 changed files with 12 additions and 17 deletions

View file

@ -1,16 +1,9 @@
.PHONY: all copy build update
all: copy
copy: build
nix copy --to ssh://pixelifytica@legion \
.#iosevka-custom-aile \
.#iosevka-custom-nerdfont
.PHONY: build copy
build:
nix build --no-link --max-jobs 1 \
.#iosevka-custom-aile \
nix build --max-jobs 1 .#iosevka-custom-aile \
.#iosevka-custom-nerdfont
update:
nix flake update --commit-lock-file
copy: build
nix copy --to ssh://pixelifytica@legion ./result
rm ./result

View file

@ -45,10 +45,10 @@
lower-chi = "semi-chancery-straight";
zero = "tall-slashed";
one = "no-base";
two = "straight-neck";
three = "flat-top";
four = "semi-open";
five = "oblique-arched";
two = "straight-neck-serifless";
three = "flat-top-serifless";
four = "semi-open-serifless";
five = "oblique-arched-serifless";
six = "open-contour";
seven = "bend-serifless-crossbar";
eight = "two-circles";

View file

@ -21,8 +21,10 @@
iosevka-custom-aile = "Iosevka Custom Aile";
iosevka-custom-nerdfont = "IosevkaCustomNerdFont";
};
packages.${system} = rec {
packages.${system} = let
inherit (pkgs.callPackage ./default.nix {}) iosevka-custom-aile iosevka-custom-nerdfont;
in {
inherit iosevka-custom-aile iosevka-custom-nerdfont;
default = iosevka-custom-nerdfont;
};
};