Renamed rebuild to build

This commit is contained in:
2026-03-04 09:36:17 -07:00
parent 1f596f832f
commit 10778b2d85
2 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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";