Fix himalaya
This commit is contained in:
parent
89ac397895
commit
d74a9ca049
@ -1,24 +1,22 @@
|
|||||||
{ config, pkgs, inputs, lib, ... }: {
|
{ config, pkgs, inputs, lib, ... }: {
|
||||||
environment.systemPackages = [ inputs.himalaya.defaultPackage.x86_64-linux ];
|
environment.systemPackages = [ inputs.himalaya.defaultPackage.x86_64-linux ];
|
||||||
home-manager.users.balsoft = {
|
home-manager.users.balsoft = {
|
||||||
xdg.configFile."himalaya/config.toml".text = pkgs.my-lib.genIni {
|
xdg.configFile."himalaya/config.toml".text = ''
|
||||||
default = {
|
downloads-dir="/home/balsoft/Downloads/mail"
|
||||||
name = "Alexander Bantyev";
|
name="Alexander Bantyev"
|
||||||
signature = "Regards,";
|
signature="Regards,"
|
||||||
downloads-dir = "'/home/balsoft/Downloads/mail'";
|
|
||||||
};
|
[balsoft]
|
||||||
maiol = {
|
default=true
|
||||||
default = true;
|
email="balsoft@balsoft.ru"
|
||||||
email = "balsoft@balsoft.ru";
|
imap-host="balsoft.ru"
|
||||||
imap-host = "balsoft.ru";
|
imap-login="balsoft@balsoft.ru"
|
||||||
imap-login = "balsoft@balsoft.ru";
|
imap-passwd-cmd="cat /var/secrets/email"
|
||||||
imap-passwd-cmd = "cat ${config.secrets.email.decrypted}";
|
imap-port=993
|
||||||
imap-port = 993;
|
smtp-host="balsoft.ru"
|
||||||
smtp-host = "balsoft.ru";
|
smtp-login="balsoft@balsoft.ru"
|
||||||
smtp-login = "balsoft@balsoft.ru";
|
smtp-passwd-cmd="cat /var/secrets/email"
|
||||||
smtp-passwd-cmd = "cat ${config.secrets.email.decrypted}";
|
smtp-port=465
|
||||||
smtp-port = 465;
|
'';
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ let
|
|||||||
value
|
value
|
||||||
else
|
else
|
||||||
builtins.toString value;
|
builtins.toString value;
|
||||||
in "${key}=${mvalue}";
|
in ''${key}=${mvalue}'';
|
||||||
attrsToList = with builtins;
|
attrsToList = with builtins;
|
||||||
x:
|
x:
|
||||||
(map (key: {
|
(map (key: {
|
||||||
|
Loading…
Reference in New Issue
Block a user