aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.wiki3
-rw-r--r--nix.wiki22
-rw-r--r--phone.wiki1
3 files changed, 26 insertions, 0 deletions
diff --git a/index.wiki b/index.wiki
index eb56e52..1b6b1cf 100644
--- a/index.wiki
+++ b/index.wiki
@@ -28,12 +28,15 @@
* [[Lysator]]
* [[Lysator/jukebox]]
* [[irc-bots]]
+ * [[nix]]
* [[diary/diary|Dagbok]]
= Quick Notes =
- datagram samt frame
- http://jupyter.org notebooks
+- Patcha puppet
+- Sommarjobb Ericsson? Se d-info
= Generated Tags =
diff --git a/nix.wiki b/nix.wiki
new file mode 100644
index 0000000..915fc6e
--- /dev/null
+++ b/nix.wiki
@@ -0,0 +1,22 @@
+= Nix =
+
+- `nix-env -qa` : List all available packages (query, available)
+- `nix-env -i hello` : Install package "hello"
+- `nix-env -e hello` : Uninstall package
+- `nix-shell -p hello` : Drop into a new shell where the selected
+ package is installed.
+
+{{{
+nix-env -f "<nixpkgs>" -qaP -A haskellPackages Cabal
+}}}
+
+{{{
+nix-env -iA nixpkgs.xmonad
+}}}
+
+=== Hackage ===
+haskellPackages.<pkg> :: <pkg>
+
+=== ... ===
+
+https://nixos.org/nixpkgs/manual/#how-to-install-a-compiler-with-libraries
diff --git a/phone.wiki b/phone.wiki
index bff35f4..71a33a9 100644
--- a/phone.wiki
+++ b/phone.wiki
@@ -14,3 +14,4 @@
- Bra batteritid
- - ingen NFC
- - ingen snabbladdning
+- Motorola E5 Play