737 karma · joined August 20, 2016
The options under systemd.network almost map 1:1 to systemd-networkd ones.
hardware.opengl = { extraPackages = with pkgs; [ intel-compute-runtime # OpenCL library intel-media-driver # video encoding/decoding hardware accerlation ]; extraPackages32 = with pkgs.pkgsi686Linux; [ intel-media-driver # video encoding/decoding hardware accerlation ]; };
3. For example here https://nixos.org/manual/nixpkgs/unstable/#chap-hooks
5. It is quite the opposite. If the typical build instructions are ./configure; make; make install then you might only need to specify the install directory to $out and you are done. Looking at ldd is also not usually required when compiling from source.
You almost never want to invoke patchelf by itself but use some wrapper like autoPatchelfHook, FHS, nix-ld, nix-autobahn, etc.
Since 2018 a lot quite a lot happened. Give it another chance.
> python310.withPackages and python311.withPackages
I think that should be solvable by supplying them the same function.
env = ps: with ps; [ numpy toolz ] python39.withPackages(env) python310.withPackages(env)
more commonly just nix language or you know it out of context
No, not really. They are not consistent for every part and not every package is up to date with everything but if you get the gist you can easily guess things. If things are really weird we can always rename them.
The nix language itself is pretty straightforward and if you know haskell your should feel straight at home.
You shouldn't use nixpkgs python packages as a replacement for your python development. That would also not work that great on other distros.