diff --git a/README.md b/README.md index aa5a51b..72a4546 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,17 @@ This repository also contains a Nix flake. It can be used in a NixOS configurati 1. Add flake to inputs: ```nix url-eater.url = "github:AgathaSorceress/url-eater"; +url-eater.inputs.nixpkgs.follows = "nixpkgs"; #optional ``` -2. Import NixOS module +2. Adding output: +```nix + outputs = inputs@{ self, nixpkgs, url-eater, ... }: +``` +3. Import NixOS module ```nix imports = [ url-eater.nixosModule ]; ``` -3. Configure the module: +4. Configure the module: ```nix { ... }: { services.url-eater = { @@ -75,4 +80,4 @@ The output binary will be in `target/release/url-eater` Alternatively, ```sh nix build github:AgathaSorceress/url-eater -``` \ No newline at end of file +```