mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-18 04:24:00 +05:30
Experimental arbitrary directory dotfiles install + re-added simplified phoenix wrapper script + updated readme with these changes
This commit is contained in:
parent
3148ea5ab7
commit
7c457d29de
14 changed files with 189 additions and 46 deletions
|
@ -14,11 +14,11 @@
|
|||
# After running this, the command `nix flake update` will require root
|
||||
|
||||
if [ "$#" = 1 ]; then
|
||||
dotfilesDir=$1;
|
||||
SCRIPT_DIR=$1;
|
||||
else
|
||||
dotfilesDir=$(pwd);
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
fi
|
||||
pushd $dotfilesDir &> /dev/null;
|
||||
pushd $SCRIPT_DIR &> /dev/null;
|
||||
chown 0:0 .;
|
||||
chown 0:0 profiles/*;
|
||||
chown -R 0:0 system;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue