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/wireguard.nix
./modules/binary-caches.nix ./modules/binary-caches.nix
./modules/science.nix ./modules/science.nix
./modules/mail.nix
]; ];
}; };
}; };

View file

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