This commit is contained in:
Daylin Morgan 2023-01-25 21:17:24 -06:00
parent d50dd189bf
commit 1cdde34084
3 changed files with 12 additions and 13 deletions

4
.task.cfg.mk Normal file
View file

@ -0,0 +1,4 @@
PHONIFY = 1
USAGE := {a.style('==>','bold')} {a.style('flakes ftw','header')} {a.style('<==','bold')}\n
-include .task.mk
$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v23.1.1/task.mk -o .task.mk)

View file

@ -1,16 +1,10 @@
boot:
sudo nixos-rebuild boot --flake .
## switch | perform nixos rebuild
switch:
sudo nixos-rebuild switch --flake .
## lint | format *.nix
lint:
lint: ## format *.nix
nixpkgs-fmt .
.PHONY: lint switch boot
boot: ## evaluate flake for next boot
sudo nixos-rebuild boot --flake .
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))
switch: ## perform nixos rebuild
sudo nixos-rebuild switch --flake .
-include .task.cfg.mk

View file

@ -68,6 +68,7 @@
nixpkgs-fmt
lazydocker
python3
nodejs
go
rustup