From b1006dd48c47fefca879612360567d5c17038197 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 3 Mar 2024 21:09:00 +0000 Subject: [PATCH] Add Makefile Handles building, copying to server, and updating --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6a7fce4 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +.PHONY: all copy build update + +all: copy + +copy: build + nix copy --to ssh://xenia@legion \ + .#iosevka-custom-aile \ + .#iosevka-custom-etoile \ + .#iosevka-custom-nerdfont + +build: + nix build --no-link --max-jobs 1 \ + .#iosevka-custom-aile \ + .#iosevka-custom-etoile \ + .#iosevka-custom-nerdfont + +update: + nix flake update --commit-lock-file