Rename NixOS overlay to module

This commit is contained in:
Reinout Meliesie 2025-03-04 12:15:12 +01:00
parent 4b505625a7
commit b8e7a96248
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
## Description ## Description
An assortment of Nix packages not in the official collection. An assortment of Nix packages not in the official collection.
They can either be imported individually or using the overlay if you're on NixOS. They can either be imported individually or using the module if you're on NixOS.
These are purposefully written without support for [overriding](https://nixos.org/guides/nix-pills/17-nixpkgs-overriding-packages) in order to minimise complexity. These are purposefully written without support for [overriding](https://nixos.org/guides/nix-pills/17-nixpkgs-overriding-packages) in order to minimise complexity.
If you want to build upon them I encourage you to fork this repository. If you want to build upon them I encourage you to fork this repository.
@ -23,13 +23,13 @@ pkgs . callPackage ( import ( pkgs . fetchurl {
} ) ) {} } ) ) {}
``` ```
Using the NixOS overlay: Using the NixOS module:
```nix ```nix
imports = [ imports = [
( fetchTarball { ( fetchTarball {
url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/archive/432123bb0984dd766c16ac06b7e3ef4cfee36145.tar.gz" ; url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/archive/432123bb0984dd766c16ac06b7e3ef4cfee36145.tar.gz" ;
sha256 = "sha256:1wx7ljabgndandcd11jmr590jfpkhs55mqrgksf24ji90m37wpq0" ; sha256 = "sha256:1wx7ljabgndandcd11jmr590jfpkhs55mqrgksf24ji90m37wpq0" ;
} + "/nixos-overlay.nix" ) } + "/nixos-module.nix" )
] ; ] ;
``` ```