From dc0806ff38e29ad3de08bf8e7cb0d02da7abb2d6 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Wed, 5 Mar 2025 22:19:09 -0600 Subject: system changes --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 3e88b82..13736cf 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ endif # update by default, install first all: update update: install $(UPDATE_TARGET) - cp $(DSTDIR)/.flake/flake.lock $(SRCDIR)/flake + cp $(DSTDIR)/flake/flake.lock $(SRCDIR)/flake git add -A git commit -m "update lock file" || true @@ -59,20 +59,20 @@ $(DSTDIR)/%: $(SRCDIR)/% cp $< $@ macos-update: install - nix flake update --flake $(DSTDIR)/.flake - darwin-rebuild switch --flake $(DSTDIR)/.flake + nix flake update --flake $(DSTDIR)/flake + darwin-rebuild switch --flake $(DSTDIR)/flake brew update brew upgrade # macos install tells System Events to update the wallpaper after installation macos-install: $(CONFIGS) - darwin-rebuild switch --flake $(DSTDIR)/.flake + darwin-rebuild switch --flake $(DSTDIR)/flake osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"/$$HOME/.wallpaper\" as POSIX file" sudo /usr/libexec/makewhatis -o /usr/local/share/man/whatis nixos-update: install - nix flake update $(DSTDIR)/.flake - sudo nixos-rebuild switch --flake $(DSTDIR)/.flake + nix flake update $(DSTDIR)/flake + sudo nixos-rebuild switch --flake $(DSTDIR)/flake nixos-install: $(CONFIGS) - sudo nixos-rebuild switch --flake $(DSTDIR)/.flake + sudo nixos-rebuild switch --flake $(DSTDIR)/flake -- cgit v1.2.3