From 2e99b31a3ffbe5b64ae9f0a35cb18cf7e88f48b6 Mon Sep 17 00:00:00 2001 From: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com> Date: Fri, 27 Dec 2024 15:06:33 +0100 Subject: [PATCH] README.md: link to overriding section --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86321d8..5e230dd 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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: + + ```nix (inputs.gotcha.packages.${pkgs.system}.default.override {interface = "ens33";}) ```