mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Fix update script & update channels
This commit is contained in:
parent
3c92330eaf
commit
08c87b5f23
|
@ -6,4 +6,8 @@
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
|
||||||
# Update flake
|
# Update flake
|
||||||
sudo nix flake update $SCRIPT_DIR;
|
pushd $SCRIPT_DIR &> /dev/null;
|
||||||
|
sudo nix flake update;
|
||||||
|
sudo nix-channel --update;
|
||||||
|
nix-channel --update;
|
||||||
|
popd &> /dev/null;
|
||||||
|
|
Loading…
Reference in a new issue