feat(email): force existence of .signature file
This commit is contained in:
parent
46e9f8c007
commit
8f860b6887
@ -1,4 +1,15 @@
|
|||||||
{config, ...}: {
|
{config, ...}: let
|
||||||
|
signature = ''
|
||||||
|
Lucien “Phundrak” Cartier-Tilet
|
||||||
|
https://phundrak.com (Français)
|
||||||
|
https://phundrak.com/en (English)
|
||||||
|
Sent from GNU/Emacs
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
home.file.".signature" = {
|
||||||
|
target = ".signature";
|
||||||
|
text = signature;
|
||||||
|
};
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = "Mail";
|
maildirBasePath = "Mail";
|
||||||
accounts."lucien@phundrak.com" = {
|
accounts."lucien@phundrak.com" = {
|
||||||
@ -12,12 +23,7 @@
|
|||||||
];
|
];
|
||||||
passwordCommand = "cat ${config.sops.secrets.emailPassword.path}";
|
passwordCommand = "cat ${config.sops.secrets.emailPassword.path}";
|
||||||
signature = {
|
signature = {
|
||||||
text = ''
|
text = signature;
|
||||||
Lucien “Phundrak” Cartier-Tilet
|
|
||||||
https://phundrak.com (Français)
|
|
||||||
https://phundrak.com/en (English)
|
|
||||||
Sent from GNU/Emacs
|
|
||||||
'';
|
|
||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
userName = "lucien@phundrak.com";
|
userName = "lucien@phundrak.com";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user