aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index c808099..8d96e89 100755
--- a/install
+++ b/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