doc: clone repo recursively on first pass
This commit is contained in:
17
README.md
17
README.md
@@ -2,22 +2,23 @@
|
||||
|
||||
NixOS configuration files personalized for my workflow.
|
||||
|
||||
To get started, install NixOS, clone this repository and run:
|
||||
To get started, install NixOS, clone this repository and run the rebuild command.
|
||||
|
||||
```sh
|
||||
git clone --recursive https://github.com/lavafroth/dotfiles
|
||||
```
|
||||
|
||||
```sh
|
||||
sudo nixos-rebuild switch -I nixos-config=configuration.nix
|
||||
```
|
||||
|
||||
# Compiling the Sponsorblock library for mpv
|
||||
#### Optional: Installing Sponsorblock for mpv
|
||||
|
||||
> Note: This is optional
|
||||
|
||||
A fresh install will be unlikely to have Rust and thus, the sponsorblock
|
||||
library won't be installed. Also, I won't be uploading the compiled shared
|
||||
object. After the first `nixos-rebuild`, run:
|
||||
A fresh install is unlikely to have Rust and thus, the sponsorblock
|
||||
library won't be installed. Since I won't be uploading the compiled shared
|
||||
object, you have to compile it yourself. After the first `nixos-rebuild`, run:
|
||||
|
||||
```sh
|
||||
git submodule update --init --recursive
|
||||
pushd sources/mpv-sponsorblock
|
||||
cargo build --release --locked
|
||||
cp ./target/release/libmpv_sponsorblock.so ../mpv/scripts/sponsorblock.so
|
||||
|
||||
Reference in New Issue
Block a user