diff --git a/modules/programs/taskwarrior.nix b/modules/programs/taskwarrior.nix index b5fb0af..47bf986 100644 --- a/modules/programs/taskwarrior.nix +++ b/modules/programs/taskwarrior.nix @@ -35,7 +35,15 @@ in { taskNextWeek tsak - unstable.vit + (unstable.vit.overrideAttrs (old: rec { + name = "vit-${version}"; + version = "master"; + src = pkgs.fetchgit { + url = "https://github.com/scottkosty/vit.git"; + rev = "41d046e86c1ff73a95d78b66149e3fb30a6aac85"; + sha256 = "0xkh5hiryh7nwi17wrp1pxscbw0a2fdw349mhgvx59hafpkf13nv"; + }; + })) python # needed for hooks diff --git a/system/all/packages.nix b/system/all/packages.nix index 77b3846..7860994 100644 --- a/system/all/packages.nix +++ b/system/all/packages.nix @@ -41,6 +41,7 @@ let EOF ''; + in { programs.tmux = { @@ -91,6 +92,14 @@ in { pciutils + (pkgs.writers.writeBashBin "ssl-check-cert-of-domain" '' + DOMAIN=$1 + echo | \ + ${pkgs.openssl}/bin/openssl s_client -servername ''${DOMAIN} -connect ''${DOMAIN}:443 2>/dev/null | \ + ${pkgs.openssl}/bin/openssl x509 -text | \ + ${pkgs.less}/bin/less + '') + ]; }