os/profiles/develop/default.nix

52 lines
844 B
Nix
Raw Normal View History

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