Commit 15056e3cc120

Vincent Demeester <vincent@sbr.pm>
2021-11-25 16:36:18
users/vincent: enable mails sync on aomi…
… instead of wakasu. Also fixing some "initial" problems. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 5dd78d4
Changed files (2)
users
modules
profiles
vincent
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;
           };
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;