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:
parent
5cd5d8ccc2
commit
aa495aa582
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@
|
||||||
__pycache__
|
__pycache__
|
||||||
.direnv
|
.direnv
|
||||||
*.html
|
*.html
|
||||||
|
/result
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
Reference in a new issue