Skip to content

Commit

Permalink
doc: fix typo in legacy nix code snippet, and clarify, fixes #47
Browse files Browse the repository at this point in the history
  • Loading branch information
cottand authored Dec 20, 2023
1 parent 413f28e commit 1ff6347
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/src/Nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ You can simply run `nix run github:cottand/leng` to run latest `master`.

The leng flake also exports a NixOS module for easy deployment on NixOS machines.

Please refer to [Configuration](./Configuration.md) for the options you can use under `services.leng.configuration. = ...`.

### In your flake

```nix
Expand Down Expand Up @@ -50,7 +52,7 @@ Add the following inside your configuration.nix:
{pkgs, lib, ... }: {
imports = [
# import leng module
(builtins.getFlake "github:cottand/leng/1.5.0").nixosModules.default
(builtins.getFlake "github:cottand/leng/v1.5.0").nixosModules.default
];
# now you can use services.leng!
Expand Down

0 comments on commit 1ff6347

Please sign in to comment.