From 71eb5dcbf924fa78a58f0277a2c4ec62a7772d30 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 16 Sep 2016 15:41:47 +0200 Subject: machines/katara: extract lib & add xmpp-client Some stuff is needed in multiple files, like the home directory. Extracted out into lib.nix. xmpp-client uses that to create a wrapper for splicing the password into the config at program invocation. --- machines/profpatsch/katara.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'machines/profpatsch/katara.nix') diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index 68ad7b08..83dd4c93 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -1,7 +1,8 @@ { config, pkgs, unfreeAndNonDistributablePkgs, lib, ... }: let - myPkgs = import ./pkgs.nix { inherit pkgs lib; }; + myLib = import ./lib.nix { inherit pkgs lib; }; + myPkgs = import ./pkgs.nix { inherit pkgs lib myLib; }; in { @@ -127,7 +128,6 @@ in { myPkgs.mpv # you are my sun and my stars. and you play my stuff. newsbeuter # RSS/Atom feed reader pass # standard unix password manager - myPkgs.poezio # CLI XMPP client poppler_utils # pdfto* ranger # CLI file browser remind # calender & reminder program @@ -135,6 +135,7 @@ in { myPkgs.sent # suckless presentation tool pkgs.vuizvui.show-qr-code # display a QR code youtube-dl # download videos + myPkgs.xmpp-client # CLI XMPP Client zathura # pdf viewer ]; mailPkgs = [ -- cgit 1.4.1