Skip to content

Commit

Permalink
feat: fixed documentation (#524)
Browse files Browse the repository at this point in the history
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.

Co-authored-by: Dr.Teagle <chrisdockter@proton.me>
  • Loading branch information
GaetanLepage and DockterTeagle authored May 26, 2024
1 parent 491c6d2 commit a9a2fe6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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;
};
];
};
};
}
Expand Down

0 comments on commit a9a2fe6

Please sign in to comment.