2019-12-15 07:37:46 +03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./zsh
|
2019-12-15 10:03:57 +03:00
|
|
|
./kakoune
|
2019-12-15 10:25:04 +03:00
|
|
|
./tmux
|
2019-12-15 07:37:46 +03:00
|
|
|
];
|
|
|
|
|
2019-12-15 10:03:57 +03:00
|
|
|
environment.shellAliases = {
|
2019-12-16 08:30:25 +03:00
|
|
|
v = "$EDITOR";
|
2019-12-15 10:03:57 +03:00
|
|
|
};
|
|
|
|
|
2019-12-15 07:37:46 +03:00
|
|
|
environment.sessionVariables = {
|
2019-12-16 07:24:04 +03:00
|
|
|
PAGER = "less";
|
2019-12-15 07:37:46 +03:00
|
|
|
LESS = "-iFJMRWX -z-4 -x4";
|
|
|
|
LESSOPEN = "|${pkgs.lesspipe}/bin/lesspipe.sh %s";
|
2019-12-18 04:00:31 +03:00
|
|
|
EDITOR = "k";
|
|
|
|
VISUAL = "k";
|
2019-12-15 07:37:46 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2019-12-15 10:27:41 +03:00
|
|
|
file
|
2019-12-15 07:37:46 +03:00
|
|
|
git-crypt
|
2019-12-15 10:27:41 +03:00
|
|
|
gnupg
|
2019-12-15 07:37:46 +03:00
|
|
|
htop
|
|
|
|
less
|
|
|
|
ncdu
|
2019-12-16 12:29:13 +03:00
|
|
|
pass
|
2019-12-15 07:37:46 +03:00
|
|
|
tig
|
2019-12-15 10:27:41 +03:00
|
|
|
tokei
|
2019-12-15 07:37:46 +03:00
|
|
|
wget
|
|
|
|
];
|
|
|
|
|
2019-12-23 07:59:42 +03:00
|
|
|
fonts = {
|
|
|
|
fonts = [ pkgs.dejaVuNerdFont ];
|
|
|
|
fontconfig.defaultFonts.monospace = [
|
|
|
|
"DejaVu Sans Mono Nerd Font Complete Mono"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.overlays = let
|
|
|
|
font = self: super: {
|
|
|
|
dejaVuNerdFont = super.callPackage ../../pkgs/data/fonts/dejavu-nerdfont {};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
[ font ];
|
|
|
|
|
2019-12-22 05:08:44 +03:00
|
|
|
documentation.dev.enable = true;
|
|
|
|
|
2019-12-15 07:37:46 +03:00
|
|
|
programs.thefuck.enable = true;
|
|
|
|
}
|