Skip to content

Commit

Permalink
README.md: link to overriding section
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSom3body committed Dec 27, 2024
1 parent 923677e commit 2e99b31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ gotcha is a small fetcher written in go. It has absolutely no customization (at
- shell
- desktop environment/window manager
- memory usage
- (my[^1]) local ip
- (by default my[^1]) local ip

[^1]: why my you may ask? Because I hard-coded my Interface 🤡
[^1]: why my you may ask? Because gotcha builds with my interface name by default (see [here](#overrideInterface) to override) 🤡

## installation

Expand All @@ -44,6 +44,8 @@ inputs.gotcha.packages.${pkgs.system}.default

If you want to change the interface name for the IP you can override the package like this:

<a id="overrideInterface"></a>

```nix
(inputs.gotcha.packages.${pkgs.system}.default.override {interface = "ens33";})
```
Expand Down

0 comments on commit 2e99b31

Please sign in to comment.