add some scripts and make brew auto update

This commit is contained in:
Triston Armstrong 2024-11-04 12:14:26 +07:00
parent fe4a7b76a3
commit f312d1a1e9
Signed by: tristonarmstrong
GPG Key ID: A23B48AE45EB6EFE
3 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,8 @@
# "NAME" = id from appstore share link # "NAME" = id from appstore share link
}; };
onActivation.cleanup = "zap"; onActivation.cleanup = "zap";
onActivation.autoUpdate = true;
onActivation.upgrade = true;
}; };
# Auto upgrade nix package and the daemon service. # Auto upgrade nix package and the daemon service.

1
rebuild.sh Executable file
View File

@ -0,0 +1 @@
darwin-rebuild switch --flake ~/.config/nix#macpro

1
update.sh Executable file
View File

@ -0,0 +1 @@
nix flake update