diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-27 18:30:01 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-09-27 18:30:01 -0500 |
commit | e2951aff6987b3f73953714d595c2f008ae51bc2 (patch) | |
tree | 56b0116dab6e503cd0c383728f0116d9895fa678 /install | |
parent | f7229cd87555011865a1bfbed9e36230d63d891e (diff) |
sudo for copying flake lock
Diffstat (limited to 'install')
-rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |