makefile | target changes

This commit is contained in:
Don Harper 2024-05-02 06:08:15 -05:00
parent 71a6686b4e
commit f29a1b8e19

View file

@ -2,15 +2,14 @@ HOSTNAME := $(shell hostname -s)
UNAME_S := $(shell uname -s)
UNAME_M := $(shell uname -m)
all: prep
doas nixos-rebuild build --flake .#${HOSTNAME}
all: switch
switch: prep
doas nixos-rebuild switch --flake .#${HOSTNAME}
weekly: pull clean update ci switch push
weekly: pull clean update switch ci push clean
cweekly: clean pull switch
cweekly: clean pull switch clean
update:
nix flake update