Move accounts file into separate directory
Started accounts/email.nix to prep separation for adding calendar and contact expressions Move maildir back to ~/.mail to be consistent with ~/.calendar and ~/.contact
This commit is contained in:
parent
ffafc4a2b6
commit
2579ddbaa9
5
home/accounts/default.nix
Normal file
5
home/accounts/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ./email.nix ];
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, hostName, ... }:
|
{ pkgs, hostName, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
accounts.email.maildirBasePath = ".mail";
|
||||||
accounts.email.accounts = let realName = "Evelyn Litherland-Smith";
|
accounts.email.accounts = let realName = "Evelyn Litherland-Smith";
|
||||||
in {
|
in {
|
||||||
proton = let
|
proton = let
|
||||||
|
@ -58,7 +59,7 @@
|
||||||
mu.enable = true;
|
mu.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [ protonmail-bridge vdirsyncer ];
|
home.packages = with pkgs; [ protonmail-bridge ];
|
||||||
programs = {
|
programs = {
|
||||||
mbsync.enable = true;
|
mbsync.enable = true;
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
|
@ -69,6 +70,4 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
frequency = "*-*-* *:0/15:00";
|
frequency = "*-*-* *:0/15:00";
|
||||||
};
|
};
|
||||||
xdg.configFile."vdirsyncer/config".text =
|
|
||||||
import ./config/vdirsyncer.nix { inherit pkgs; };
|
|
||||||
}
|
}
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./accounts.nix
|
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
|
@ -15,6 +14,7 @@
|
||||||
./zathura.nix
|
./zathura.nix
|
||||||
./hyprland/default.nix
|
./hyprland/default.nix
|
||||||
./emacs/default.nix
|
./emacs/default.nix
|
||||||
|
./accounts/default.nix
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [ dig silver-searcher gnumake rink ];
|
home.packages = with pkgs; [ dig silver-searcher gnumake rink ];
|
||||||
programs = {
|
programs = {
|
||||||
|
|
Loading…
Reference in a new issue