mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 07:15:49 -06:00
switches
This commit is contained in:
parent
d50dd189bf
commit
1cdde34084
3 changed files with 12 additions and 13 deletions
4
.task.cfg.mk
Normal file
4
.task.cfg.mk
Normal 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)
|
20
Makefile
20
Makefile
|
@ -1,16 +1,10 @@
|
||||||
boot:
|
lint: ## format *.nix
|
||||||
sudo nixos-rebuild boot --flake .
|
|
||||||
|
|
||||||
## switch | perform nixos rebuild
|
|
||||||
switch:
|
|
||||||
sudo nixos-rebuild switch --flake .
|
|
||||||
|
|
||||||
## lint | format *.nix
|
|
||||||
lint:
|
|
||||||
nixpkgs-fmt .
|
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
|
switch: ## perform nixos rebuild
|
||||||
-include .task.mk
|
sudo nixos-rebuild switch --flake .
|
||||||
$(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))
|
|
||||||
|
-include .task.cfg.mk
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
lazydocker
|
lazydocker
|
||||||
|
|
||||||
|
python3
|
||||||
nodejs
|
nodejs
|
||||||
go
|
go
|
||||||
rustup
|
rustup
|
||||||
|
|
Loading…
Add table
Reference in a new issue