about summary refs log tree commit diff
path: root/modules/user/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-06-21 04:41:07 +0200
committeraszlig <aszlig@nix.build>2019-06-21 04:46:30 +0200
commit1cc1a930b507e9ea98a9e30f1f2e9cabefb18076 (patch)
tree8150c7566ab8ccd1e11c6c1f7c9a44a964f255a6 /modules/user/aszlig
parentb5f22e1874786bf0641bc0cfe1f6c2eedf0ff649 (diff)
profiles/workstation: Switch from Gajim to Psi 2
After using Gajim for years now, I got really frustrated by all its
warts, which mainly boil down the lack of type safety and its
interactions with its plugins.

Of course, I could also rip apart the plugin mechanism and Nixify them,
but in the end, the issues would still persist without a myriad of
tests that I don't have time right now to write.

After discovering a while back that Psi development has gained some
activity I decided to take a look into it a few weeks ago and while
there is certainly always things I don't like about some detail, it's
IMO a way better base for my future XMPP client.

So goodbye Gajim and hello Psi :-)

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig')
-rw-r--r--modules/user/aszlig/profiles/workstation/default.nix7
-rw-r--r--modules/user/aszlig/profiles/workstation/packages.nix1
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix
index e9893f29..35fd4107 100644
--- a/modules/user/aszlig/profiles/workstation/default.nix
+++ b/modules/user/aszlig/profiles/workstation/default.nix
@@ -25,7 +25,12 @@ in {
     in singleton (pkgs.writeScriptBin "xreset" ''
       #!${pkgs.stdenv.shell}
       ${pkgs.xorg.xrandr}/bin/xrandr ${concatStringsSep " " randrConf}
-    '') ++ import ./packages.nix pkgs;
+    '') ++ import ./packages.nix pkgs ++ [
+      (pkgs.vuizvui.aszlig.psi.override {
+        jid = "aszlig@aszlig.net";
+        resource = config.networking.hostName;
+      })
+    ];
 
     environment.pathsToLink = lib.singleton "/share/chromium/extensions";
 
diff --git a/modules/user/aszlig/profiles/workstation/packages.nix b/modules/user/aszlig/profiles/workstation/packages.nix
index 72b04be1..0605c7da 100644
--- a/modules/user/aszlig/profiles/workstation/packages.nix
+++ b/modules/user/aszlig/profiles/workstation/packages.nix
@@ -17,7 +17,6 @@ pkgs: with pkgs; [
   figlet
   firefox
   flac
-  gajim
   gdb
   ghostscript
   vuizvui.aszlig.git-detach