basic-tools.nix: reorganise

This commit is contained in:
Grigory Shipunov 2022-06-17 13:12:25 +02:00
parent 1e4b828aab
commit 2a83361681
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 10 additions and 11 deletions

View file

@ -32,6 +32,7 @@
./modules/wireguard.nix
./modules/binary-caches.nix
./modules/science.nix
./modules/mail.nix
];
};
};

View file

@ -7,16 +7,14 @@
fd
file
fzf
gitFull
git
gnupg
htop
irssi
killall
mercurial
neovim
ripgrep
tealdeer
tokei
traceroute
tree
liquidprompt
@ -26,8 +24,6 @@
bind
nnn
man-pages
neomutt
cachix
];
nix = {
@ -59,9 +55,6 @@
vi = "nvim";
vf = "$EDITOR $(fzf)";
vff = "$EDITOR $(ls|fzf)";
ls = "exa";
ll = "exa -l";
l = "exa -al";
ssh = "TERM=xterm-256color ssh";
mutt = "neomutt";
};
@ -89,9 +82,7 @@
LP_ENABLE_SCREEN_TITLE=1
'';
};
programs.msmtp = {
enable = true;
};
programs.iftop.enable = true;
programs.mosh.enable = true;
}

7
modules/mail.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
neomutt
];
programs.msmtp.enable = true;
}