16 lines
216 B
Makefile
16 lines
216 B
Makefile
|
.PHONY: default all home nixos clean
|
||
|
|
||
|
default: all
|
||
|
|
||
|
all: home nixos
|
||
|
|
||
|
home:
|
||
|
home-manager switch --flake ./.
|
||
|
|
||
|
nixos:
|
||
|
doas nixos-rebuild switch --flake ./.
|
||
|
|
||
|
clean:
|
||
|
nix-collect-garbage -d
|
||
|
doas nix-collect-garbage -d
|