mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 10:04:03 +05:30
Moved scripts into scripts/
This commit is contained in:
parent
cedb24e74d
commit
a8f84076e1
11 changed files with 18 additions and 18 deletions
13
scripts/update.sh
Executable file
13
scripts/update.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Script to update my flake without
|
||||
# synchronizing configuration
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
# Update flake
|
||||
pushd $SCRIPT_DIR/.. &> /dev/null;
|
||||
sudo nix flake update;
|
||||
sudo nix-channel --update;
|
||||
nix-channel --update;
|
||||
popd &> /dev/null;
|
Loading…
Add table
Add a link
Reference in a new issue