Renamed rebuild to build
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: init install link unlink rebuild update purge edit hw help
|
||||
.PHONY: init install link unlink build update purge edit hw help
|
||||
|
||||
NIXOS_DIR := /etc/nixos
|
||||
REPO_DIR := $(shell pwd)
|
||||
@@ -16,7 +16,7 @@ help:
|
||||
@echo ""
|
||||
@echo " make init - first time setup"
|
||||
@echo " make hw - generate hardware-configuration.nix"
|
||||
@echo " make rebuild - rebuild nixos configuration"
|
||||
@echo " make build - build nixos configuration"
|
||||
@echo " make update - update flake inputs and rebuild"
|
||||
@echo " make purge - garbage collect"
|
||||
@echo " make link - symlink to /etc/nixos"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{
|
||||
home.shellAliases = {
|
||||
# Nix Commands
|
||||
"nix:rebuild" = "sudo nixos-rebuild switch --flake /etc/nixos";
|
||||
"nix:build" = "sudo nixos-rebuild switch --flake /etc/nixos";
|
||||
"nix:update" = "cd /etc/nixos && nix flake update && sudo nixos-rebuild switch --flake .";
|
||||
"nix:purge" =
|
||||
"sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||
|
||||
Reference in New Issue
Block a user