sudo for copying flake lock
This commit is contained in:
parent
f7229cd875
commit
e2951aff69
1 changed files with 1 additions and 1 deletions
2
install
2
install
|
@ -49,7 +49,7 @@ fi
|
|||
if [ "$(uname)" = 'Linux' ] && grep -q 'ID=nixos' /etc/os-release; then
|
||||
echo 'installing NixOS flake'
|
||||
cp ./.flake/system/hardware-configuration.nix ~/.flake
|
||||
cp ./.flake/flake.lock ~/.flake
|
||||
sudo cp ./.flake/flake.lock ~/.flake
|
||||
sudo nixos-rebuild switch --flake '~/.flake#nixos'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue