Update Makefile

Use normal nix build command to build output, instead of relying on
home-manager script that introduces some overhead
This commit is contained in:
Evie Litherland-Smith 2024-06-22 09:40:51 +01:00
parent 5cd5d8ccc2
commit aa495aa582
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -7,3 +7,4 @@
__pycache__ __pycache__
.direnv .direnv
*.html *.html
/result

View file

@ -1,7 +1,10 @@
.PHONY: build copy .PHONY: build copy
USER := $(shell whoami)
HOST := $(shell hostname)
build: build:
nix run . -- build --flake . --show-trace nix build .#homeConfigurations."$(USER)@$(HOST)".activationPackage
copy: build copy: build
nix copy --to ssh://pixelifytica@legion ./result nix copy --to ssh://pixelifytica@legion ./result