mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
13 lines
438 B
Makefile
13 lines
438 B
Makefile
## switch | perform nixos rebuild
|
|
switch:
|
|
sudo nixos-rebuild switch --flake . --impure
|
|
|
|
## lint | format *.nix
|
|
lint:
|
|
nixpkgs-fmt .
|
|
|
|
.PHONY: lint switch
|
|
|
|
USAGE := {a.style('==>','bold')} {a.style('flakes ftw','header')} {a.style('<==','bold')}\n
|
|
-include .task.mk
|
|
$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v22.9.28/task.mk -o .task.mk))
|