From eac372bb7167ab507dcb18873556e617ec196df3 Mon Sep 17 00:00:00 2001 From: Crazazy Date: Thu, 8 Jun 2023 14:36:49 +0200 Subject: add researchware part --- nixos.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'nixos.org') diff --git a/nixos.org b/nixos.org index d68ba0a..fd96181 100644 --- a/nixos.org +++ b/nixos.org @@ -304,6 +304,22 @@ stuff ]; } #+end_src +*** Researchware + I am doing a research project and I need certain software to make that happen + #+begin_src nix :noweb-ref no + { + virtualisation.vswitch.enable = true; + environment.systemPackages = with pkgs; [ + mininet + # not universal for all pythons but it works for now + (python3.withPackages (p: [(p.mininet-python.overrideAttrs (_: { + postInstall = "cp $py/bin/mn $py/lib/python3.10/site-packages/mininet/__main__.py"; + }))])) + opam + bindfs + ]; + } + #+end_src *** Steam I like to play videogames sometimes, however steam also requires a little more special attention #+begin_src nix -- cgit 1.4.1-2-gfad0