This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/Makefile
Evie Litherland-Smith aa495aa582 Update Makefile
Use normal nix build command to build output, instead of relying on
home-manager script that introduces some overhead
2024-06-22 09:40:51 +01:00

12 lines
223 B
Makefile

.PHONY: build copy
USER := $(shell whoami)
HOST := $(shell hostname)
build:
nix build .#homeConfigurations."$(USER)@$(HOST)".activationPackage
copy: build
nix copy --to ssh://pixelifytica@legion ./result
rm ./result