diff options
author | ene <ene@sils.li> | 2023-04-03 18:44:08 +0200 |
---|---|---|
committer | ene <ene@sils.li> | 2023-04-03 18:44:08 +0200 |
commit | 446c20e6bccd26f8e11b8efd5f66d7d471a85c64 (patch) | |
tree | 79f03dfdf4d7c72990c91cf3073cd5d06ed4f2fd /home-manager/packages/scripts/small_functions/update | |
parent | Fix(hm/mpd): Set client (diff) | |
download | nixos-config-446c20e6bccd26f8e11b8efd5f66d7d471a85c64.tar.gz nixos-config-446c20e6bccd26f8e11b8efd5f66d7d471a85c64.zip |
Fix(hm/packages/scripts): Add update script
Diffstat (limited to 'home-manager/packages/scripts/small_functions/update')
-rwxr-xr-x | home-manager/packages/scripts/small_functions/update | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/home-manager/packages/scripts/small_functions/update b/home-manager/packages/scripts/small_functions/update new file mode 100755 index 00000000..453e8bc8 --- /dev/null +++ b/home-manager/packages/scripts/small_functions/update @@ -0,0 +1,10 @@ +#!/usr/bin/env dash +# shellcheck disable=SC2086 +# shellcheck source=/dev/null +. %SHELL_LIBRARY_PATH + +cd /etc/nixos +git pull +nixos-rebuild switch + + |