summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos.org16
1 files changed, 16 insertions, 0 deletions
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