README.md: fix flake example

This commit is contained in:
Jörg Thalheim 2020-07-06 11:25:50 +01:00
parent 77325a0a43
commit 7e21784cc0
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -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 ]; }
];
};
}