summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrazazy2023-06-08 14:36:49 +0200
committerCrazazy2023-09-23 13:10:15 +0200
commiteac372bb7167ab507dcb18873556e617ec196df3 (patch)
tree000c063dff3615be00b8503790bcc1a4650bac90
parent4a6b80389118ad05a24bed344ceb178de226c638 (diff)
add researchware part
-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