README.md: fix flake example
This commit is contained in:
parent
77325a0a43
commit
7e21784cc0
1 changed files with 5 additions and 4 deletions
|
|
@ -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 ]; }
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue