nixos/Makefile
Evie Litherland-Smith dfebded93d Update Makefile
Use normal nix build command to build output, instead of relying on
nixos-rebuild script that introduces some overhead
2024-06-22 09:41:24 +01:00

11 lines
201 B
Makefile

.PHONY: build copy
HOST := $(shell hostname)
build:
nix build .#nixosConfigurations.$(HOST).config.system.build.toplevel
copy: build
nix copy --to ssh://pixelifytica@legion ./result
rm ./result