From 10778b2d85912025ea54c7019c075cfe4f1766e7 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Wed, 4 Mar 2026 09:36:17 -0700 Subject: [PATCH] Renamed rebuild to build --- Makefile | 4 ++-- modules/home/cli.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 200736a..9982937 100644 --- a/Makefile +++ b/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" diff --git a/modules/home/cli.nix b/modules/home/cli.nix index 0f609fc..b942ce8 100644 --- a/modules/home/cli.nix +++ b/modules/home/cli.nix @@ -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";