blob: 03929d2e90c523dd5b8fd54d105dc1f1dd8ef425 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)
|