From 7e21784cc03b77f1951ccc4f09f0edb10f8f7090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 6 Jul 2020 11:25:50 +0100 Subject: [PATCH] README.md: fix flake example --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f62a2a8c3..19fcf6d5f 100644 --- a/README.md +++ b/README.md @@ -147,10 +147,11 @@ outputs = {self, nixpkgs, nur }: nixosConfigurations.myConfig = nixpkgs.lib.nixosSystem { # ... modules = [ - ({ - nixpkgs.overlays = [ nur."${nur-username}".overlays."${anOverlay}" ] - }) - nur."${nur-username}".modules.${aModule} + # this adds a nur attribute set that can be used for example like this: + # ({ pkgs, ... }: { + # environment.systemPackages = [ pkgs.nur.repos.mic92.hello-nur ]; + # }) + { nixpkgs.overlays = [ nur.overlay ]; } ]; }; }