diff --git a/nixos-module.nix b/nixos-module.nix index 3dc07ad..461ee5f 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -1,4 +1,4 @@ -{ pkgs , ... } : +{ pkgs } : with pkgs ; diff --git a/packages/bookwyrm/nixos-module.nix b/packages/bookwyrm/nixos-module.nix index 4d9d4d6..bb92e4e 100644 --- a/packages/bookwyrm/nixos-module.nix +++ b/packages/bookwyrm/nixos-module.nix @@ -1,4 +1,4 @@ -{ pkgs , ... } : +{ pkgs } : with pkgs . kernelmaft ; diff --git a/readme.md b/readme.md index 1d0dbcf..a43d834 100644 --- a/readme.md +++ b/readme.md @@ -31,18 +31,7 @@ Not present for all packages. > You should replace the commits here with the latest one, or whichever one you want to use. > The hashes will of course differ. -Using the top-level NixOS module: - -```nix -imports = [ - ( fetchTarball { - url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/archive/f91196c8a4a3ba6953c85b94ea75dee5e331548f.tar.gz" ; - sha256 = "sha256:1wx7ljabgndandcd11jmr590jfpkhs55mqrgksf24ji90m37wpq0" ; - } + "/nixos-module.nix" ) -] ; -``` - -Using a specific package expression: +Using a specific package: ```nix pkgs . callPackage ( import ( pkgs . fetchurl { @@ -50,3 +39,14 @@ pkgs . callPackage ( import ( pkgs . fetchurl { hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" ; } ) ) {} ``` + +Using the NixOS module: + +```nix +imports = [ + ( fetchTarball { + url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/archive/432123bb0984dd766c16ac06b7e3ef4cfee36145.tar.gz" ; + sha256 = "sha256:1wx7ljabgndandcd11jmr590jfpkhs55mqrgksf24ji90m37wpq0" ; + } + "/nixos-module.nix" ) +] ; +```