Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
takeokunn committed Dec 5, 2024
1 parent 6ddb77d commit 61ddcde
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 4 deletions.
4 changes: 4 additions & 0 deletions home-manager/programs/advanced.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ let
gh-dash = import ./gh-dash;
git = import ./git { inherit pkgs; };
lnav = import ./lnav { inherit pkgs; };
mu = import ./mu;
msmtp = import ./msmtp { inherit pkgs; };
nix-index = import ./nix-index;
nyxt = import ./nyxt { inherit pkgs; };
offlineimap = import ./offlineimap;
Expand All @@ -30,6 +32,8 @@ in
gh-dash
git
lnav
mu
msmtp
nix-index
nyxt
offlineimap
Expand Down
2 changes: 0 additions & 2 deletions home-manager/programs/basic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ let
gnupg = import ./gnupg;
man = import ./man;
misc = import ./misc;
mu = import ./mu;
neovim = import ./neovim { inherit pkgs sources; };
password-store = import ./password-store { inherit pkgs; };
peco = import ./peco { inherit pkgs; };
Expand All @@ -33,7 +32,6 @@ in
gnupg
man
misc
mu
password-store
neovim
peco
Expand Down
29 changes: 29 additions & 0 deletions home-manager/programs/msmtp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ pkgs }: {
programs.msmtp = {
enable = true;
extraConfig = ''
defaults
auth on
tls on
'';
};

accounts.email.accounts = {
SmtpGmail = {
primary = true;
msmtp.enable = true;
realName = "takeo obara";
userName = "takeo obara";
address = "bararararatty@gmail.com";
passwordCommand = [
"pass"
"show"
"private/develop/google/smtp"
];
smtp = {
host = "smtp.gmail.com";
tls.enable = true;
};
};
};
}
4 changes: 3 additions & 1 deletion home-manager/programs/mu/default.nix
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{ programs.mu.enable = true; }
{
programs.mu.enable = true;
}
1 change: 0 additions & 1 deletion home-manager/programs/offlineimap/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

accounts.email.accounts = {
Gmail = {
primary = true;
offlineimap = {
enable = true;
extraConfig.remote = {
Expand Down

0 comments on commit 61ddcde

Please sign in to comment.