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 .PHONY: build copy
all: copy
copy: build
nix copy --to ssh://pixelifytica@legion \
.#iosevka-custom-aile \
.#iosevka-custom-nerdfont
build: build:
nix build --no-link --max-jobs 1 \ nix build --max-jobs 1 .#iosevka-custom-aile \
.#iosevka-custom-aile \
.#iosevka-custom-nerdfont .#iosevka-custom-nerdfont
update: copy: build
nix flake update --commit-lock-file nix copy --to ssh://pixelifytica@legion ./result
rm ./result

View file

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

View file

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