mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
14 lines
297 B
Bash
Executable file
14 lines
297 B
Bash
Executable file
#!/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;
|