Add password manager
This commit is contained in:
parent
d8e0210c30
commit
fcd046b8d1
3 changed files with 13 additions and 4 deletions
|
|
@ -1,14 +1,16 @@
|
|||
{ pkgs, fullname, email, ... }:
|
||||
{ config, pkgs, fullname, email, ... }:
|
||||
let
|
||||
maildir = "/home/kiana/.mail";
|
||||
maildir = "${config.xdg.dataHome}/mail";
|
||||
pass = config.programs.password-store.package;
|
||||
in {
|
||||
accounts.email = {
|
||||
maildirBasePath = maildir;
|
||||
accounts = {
|
||||
Gmail = {
|
||||
gmail = {
|
||||
address = email;
|
||||
userName = email;
|
||||
flavor = "gmail.com";
|
||||
passwordCommand = "${pass}/bin/pass Email/gmail.com";
|
||||
primary = true;
|
||||
mbsync = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue