Update README.md

This commit is contained in:
Jill 2024-04-16 12:13:54 +02:00
parent 768d190b4b
commit 04cd7f0e95
Signed by: KokaKiwi
GPG Key ID: 09A5A2688F13FAC1
1 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ The `default.nix` file follows the nixpkgs `callPackage` convention for fetching
The `docker.nix` derives into a Docker image you can load simply by running:
```shell
$ docker load -i $(nix-build docker.nix)
docker load -i $(nix-build docker.nix)
```
You can then test the built Docker image using the provided `docker-compose.yml` and `config.js` files, which are
@ -26,7 +26,7 @@ which can be choose by passing the `-A [name]` flags to `nix-build`
For example, to build and load the Deuxfleurs-flavoured CryptPad Docker image, you run:
```shell
$ docker load -i $(nix-build deuxfleurs.nix -A docker)
docker load -i $(nix-build deuxfleurs.nix -A docker)
```
## OnlyOffice integration
@ -41,13 +41,13 @@ The pinned sources files are generated with the [niv](https://github.com/nmattia
To update the pinned nixpkgs, you simply run the following command:
```shell
$ niv update
niv update
```
To modify the pinned nixpkgs, you can use the `niv modify` command, for example, to move to nixpkgs-unstable:
```shell
$ niv modify nixpkgs -b nixos-unstable
niv modify nixpkgs -b nixos-unstable
```
## Quirks