From f35fe50280959941577349346bfc50f4ee4f3af2 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 25 May 2024 07:03:20 +0100 Subject: [PATCH] Add switch directive to Makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de9f530e..bfc77e6a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ -.PHONY: default build +.PHONY: default build switch default: build build: nixos-rebuild build --flake . --show-trace + +switch: + sudo nixos-rebuild switch --flake . --show-trace