diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..03929d2e --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +NIX_FILES = $(shell find . name -name '*.nix' -type f) +MAX_AGE=14d + +.PHONY: all +all: build + +.PHONY: news +news: + nix-shell --run "home-manager news" + +.PHONY: build +build: + nix-shell --run "home-manager build" + +.PHONY: switch +switch: + nix-shell --run "home-manager switch" + +.PHONY: clean +clean: + -rm -rv result + -nix-collect-garbage --delete-older-than $(MAX_AGE) |