ma home-manager: add mailsync, navi
This commit is contained in:
parent
9579a313a1
commit
884d557c75
@ -1,5 +1,13 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.makefu = {
|
home-manager.users.makefu = {
|
||||||
|
home.packages= with pkgs;[ (pkgs.writers.writeDashBin "mailsync"''
|
||||||
|
${imapfilter}/bin/imapfilter -t /etc/ssl/certs/ca-bundle.crt \
|
||||||
|
&& ${isync}/bin/mbsync -a \
|
||||||
|
&& ${libnotify}/bin/notify-send -t 1000000 -u critical 'Mail sync finished'
|
||||||
|
|
||||||
|
''
|
||||||
|
)];
|
||||||
programs.mbsync.enable = true;
|
programs.mbsync.enable = true;
|
||||||
accounts.email.maildirBasePath = "/home/makefu/Mail";
|
accounts.email.maildirBasePath = "/home/makefu/Mail";
|
||||||
accounts.email.certificatesFile = "/etc/ssl/certs/ca-certificates.crt";
|
accounts.email.certificatesFile = "/etc/ssl/certs/ca-certificates.crt";
|
||||||
|
@ -9,7 +9,9 @@
|
|||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
{ #direnv
|
{ #direnv
|
||||||
home-manager.users.makefu.home.packages = [ pkgs.direnv pkgs.nur.repos.kalbasit.nixify ];
|
home-manager.users.makefu.home.packages = [
|
||||||
|
(pkgs.writers.writeDashBin "privatefox" "exec firefox -P Privatefox")
|
||||||
|
pkgs.direnv pkgs.nur.repos.kalbasit.nixify ];
|
||||||
# home-manager.users.makefu.home.file.".direnvrc".text = '''';
|
# home-manager.users.makefu.home.file.".direnvrc".text = '''';
|
||||||
}
|
}
|
||||||
{ # bat
|
{ # bat
|
||||||
@ -66,7 +68,10 @@
|
|||||||
compdef _pass secrets
|
compdef _pass secrets
|
||||||
zstyle ':completion::complete:secrets::' prefix "$HOME/.secrets-pass/"
|
zstyle ':completion::complete:secrets::' prefix "$HOME/.secrets-pass/"
|
||||||
|
|
||||||
|
# navi
|
||||||
|
source ${pkgs.navi}/share/navi/shell/navi.plugin.zsh
|
||||||
# ctrl-x ctrl-e
|
# ctrl-x ctrl-e
|
||||||
|
autoload -U compinit && compinit
|
||||||
autoload -U edit-command-line
|
autoload -U edit-command-line
|
||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
bindkey '^xe' edit-command-line
|
bindkey '^xe' edit-command-line
|
||||||
|
Loading…
Reference in New Issue
Block a user