devos/profiles/develop/default.nix

52 lines
844 B
Nix
Raw Normal View History

2019-12-15 05:37:46 +01:00
{ pkgs, ... }:
{
imports = [
./zsh
2019-12-15 08:03:57 +01:00
./kakoune
2019-12-15 08:25:04 +01:00
./tmux
2019-12-15 05:37:46 +01:00
];
2019-12-15 08:03:57 +01:00
environment.shellAliases = {
v = "$EDITOR";
2019-12-15 08:03:57 +01:00
};
2019-12-15 05:37:46 +01:00
environment.sessionVariables = {
2019-12-16 05:24:04 +01:00
PAGER = "less";
2019-12-15 05:37:46 +01:00
LESS = "-iFJMRWX -z-4 -x4";
LESSOPEN = "|${pkgs.lesspipe}/bin/lesspipe.sh %s";
2019-12-18 02:00:31 +01:00
EDITOR = "k";
VISUAL = "k";
2019-12-15 05:37:46 +01:00
};
environment.systemPackages = with pkgs; [
file
2019-12-15 05:37:46 +01:00
git-crypt
gnupg
2019-12-15 05:37:46 +01:00
htop
less
ncdu
2019-12-16 10:29:13 +01:00
pass
2019-12-15 05:37:46 +01:00
tig
tokei
2019-12-15 05:37:46 +01:00
wget
];
2019-12-23 05:59:42 +01: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 03:08:44 +01:00
documentation.dev.enable = true;
2019-12-15 05:37:46 +01:00
programs.thefuck.enable = true;
}