firefox launchers
authorTomas Zeman <tomas@functionals.cz>
Thu, 12 May 2022 08:15:44 +0200
changeset 23 4a9597fdc1ad
parent 22 2162f44d9a3a
child 24 856a264d045f
firefox launchers
firefox.nix
home.nix
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/firefox.nix	Thu May 12 08:15:44 2022 +0200
@@ -0,0 +1,22 @@
+{ pkgs, ... }:
+
+let
+
+  ff = p: pkgs.writers.writeBashBin "ff-${p}" ''
+    exec ${pkgs.firefox}/bin/firefox -P ${p}
+  '';
+
+in {
+  home.packages = [
+    (ff "default")
+    (ff "fin")
+    (ff "google-account")
+    (ff "jw")
+    (ff "radio")
+    (ff "socks5-9090")
+    (ff "socks5-9091")
+    (ff "socks5-9092")
+  ];
+}
+
+# vim: ts=2 sw=2 et 
--- a/home.nix	Fri Jan 14 15:02:55 2022 +0100
+++ b/home.nix	Thu May 12 08:15:44 2022 +0200
@@ -10,6 +10,7 @@
 
 {
   imports = [
+    ./firefox.nix
     ./idea.nix
     ./mailcap.nix
     ./sbt.nix