From 4b91ebeaf7b3e4004d96903b511da43b22b844f7 Mon Sep 17 00:00:00 2001 From: "Dr.Teagle" Date: Tue, 30 Apr 2024 12:07:34 -0500 Subject: [PATCH] feat: fixed documentation The documentation had a deprecated argument in the home-manager example by using configuration, this aims to fix that by providing an example of how to fix it in the current nixos unstable branch(which at the time of writting is 24.05), through a comment. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e54b22fd..617e8839 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,10 @@ If you are using flakes to configure your system, add to your nixpkgs overlays a ```nix { - inputs.neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; + inputs = { + neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; + }; + outputs = { self, ... }@inputs: let overlays = [ @@ -25,10 +28,11 @@ If you are using flakes to configure your system, add to your nixpkgs overlays a in homeConfigurations = { macbook-pro = inputs.home-manager.lib.homeManagerConfiguration { - configuration = { pkgs, ... }: + modules = [ { nixpkgs.overlays = overlays; }; + ]; }; }; }