commit 15056e3cc1206eec6f8c4cc5076f12d5f32fd81b
parent 5dd78d401f9e5e686752472274869903bc43214c
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 25 Nov 2021 16:36:18 +0100
users/vincent: enable mails sync on aomi…
… instead of wakasu. Also fixing some "initial" problems.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/users/modules/profiles/mails.nix b/users/modules/profiles/mails.nix
@@ -139,7 +139,7 @@ in
export NMBGIT=${config.xdg.dataHome}/notmuch/nmbug
${pkgs.coreutils}/bin/mkdir -p ${config.home.homeDirectory}/desktop/mails/redhat ${config.home.homeDirectory}/desktop/mails/perso
- ${pkgs.afew}/bin/afew -C ${config.xdg.configHome}/notmuch/notmuchrc -m -v
+ ${pkgs.afew}/bin/afew -C ${config.xdg.configHome}/notmuch/notmuchrc -m -v || true
'';
executable = true;
};
diff --git a/users/vincent/mails/default.nix b/users/vincent/mails/default.nix
@@ -1,12 +1,12 @@
{ hostname, pkgs, ... }:
let
- sync = (hostname == "wakasu");
+ sync = (hostname == "aomi");
in
{
imports = [ ../../modules ];
profiles.mails = {
enable = true;
- sync = false;
+ sync = true;
};
home.file.".gmailctl/config.jsonnet".source = ./config.jsonnet;
home.file.".gmailctl/gmailctl.jsonnet".source = ./gmailctl.libsonnet;