stockholm/lass/5pkgs/default.nix

41 lines
1.7 KiB
Nix
Raw Normal View History

2017-09-19 09:45:33 +00:00
{ config, pkgs, ... }@args:
2015-08-23 14:51:11 +00:00
{
nixpkgs.config.packageOverrides = rec {
2016-03-15 13:08:29 +00:00
acronym = pkgs.callPackage ./acronym/default.nix {};
2017-09-19 09:46:29 +00:00
dpass = pkgs.callPackage ./dpass {};
firefoxPlugins = {
2016-02-17 14:00:52 +00:00
noscript = pkgs.callPackage ./firefoxPlugins/noscript.nix {};
ublock = pkgs.callPackage ./firefoxPlugins/ublock.nix {};
vimperator = pkgs.callPackage ./firefoxPlugins/vimperator.nix {};
};
2017-01-17 17:44:08 +00:00
init = pkgs.callPackage ./init/default.nix args;
2017-04-12 15:57:26 +00:00
logify = pkgs.callPackage ./logify/default.nix {};
2016-04-13 14:37:26 +00:00
mk_sql_pair = pkgs.callPackage ./mk_sql_pair/default.nix {};
2016-03-19 21:01:34 +00:00
mpv-poll = pkgs.callPackage ./mpv-poll/default.nix {};
2016-07-10 15:09:26 +00:00
pop = pkgs.callPackage ./pop/default.nix {};
2016-06-25 11:18:37 +00:00
q = pkgs.callPackage ./q {};
2016-06-13 21:01:56 +00:00
rs = pkgs.callPackage ./rs/default.nix {};
2016-04-13 14:40:33 +00:00
urban = pkgs.callPackage ./urban/default.nix {};
2017-05-15 13:19:41 +00:00
xml2json = pkgs.callPackage ./xml2json/default.nix {};
2017-09-19 09:45:33 +00:00
xmonad-lass = import ./xmonad-lass.nix { inherit config pkgs; };
2016-03-19 21:01:16 +00:00
yt-next = pkgs.callPackage ./yt-next/default.nix {};
2017-11-12 12:04:42 +00:00
2017-12-18 17:53:15 +00:00
bank = pkgs.writeDashBin "bank" ''
tmp=$(mktemp)
${pkgs.pass}/bin/pass show hledger > $tmp
${pkgs.hledger}/bin/hledger --file=$tmp "$@"
${pkgs.pass}/bin/pass show hledger | if ${pkgs.diffutils}/bin/diff $tmp -; then
exit 0
else
${pkgs.coreutils}/bin/cat $tmp | ${pkgs.pass}/bin/pass insert -m hledger
fi
${pkgs.coreutils}/bin/rm $tmp
'';
screengrab = pkgs.writeDashBin "screengrab" ''
resolution="$(${pkgs.xorg.xrandr}/bin/xrandr | ${pkgs.gnugrep}/bin/grep '*' | ${pkgs.gawk}/bin/awk '{print $1}')"
2017-12-13 17:31:09 +00:00
${pkgs.ffmpeg}/bin/ffmpeg -f x11grab -r 25 -i :${toString config.services.xserver.display} -s $resolution -c:v huffyuv $1
'';
};
2015-08-23 14:51:11 +00:00
}