1

doc: clone repo recursively on first pass

This commit is contained in:
Himadri Bhattacharjee
2023-07-13 08:01:57 +05:30
parent 6567e871da
commit 6f0dc4e399

View File

@@ -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