mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -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:
|
||||
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
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
nixpkgs-fmt
|
||||
lazydocker
|
||||
|
||||
python3
|
||||
nodejs
|
||||
go
|
||||
rustup
|
||||
|
|
Loading…
Reference in a new issue