From 66d3268b80620ae1236cbfb7cbf07543061be607 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 20 Jan 2023 11:52:01 -0500 Subject: working on my email setup Change-Id: Iff7f41d9474c0a6785c3f049b7b76da75c130d81 --- lib/email.nix | 17 ++++++----------- lib/linux.nix | 5 ----- 2 files changed, 6 insertions(+), 16 deletions(-) (limited to 'lib') diff --git a/lib/email.nix b/lib/email.nix index 23a41a3..e874dd6 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -5,11 +5,6 @@ let homedir = builtins.getEnv "HOME"; in { - #nixpkgs.overlays = [ - # (self: super: { - # notmuch = pkgs.callPackage ../pkgs/notmuch.nix {}; - # }) - #]; accounts = { email = { maildirBasePath = "${homedir}/Mail"; @@ -69,12 +64,12 @@ in extraConfig = builtins.readFile ./afew.ini; }; - #alot = { - # enable = true; - # extraConfig = '' - # theme = solarized_light - # ''; - #}; + alot = { + enable = false; + extraConfig = '' + theme = solarized_light + ''; + }; mbsync = { enable = true; diff --git a/lib/linux.nix b/lib/linux.nix index 91c0c33..ad85407 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -2,9 +2,6 @@ let inherit (import ./const.nix) fontSize homedir gpgid; - getHostname = pkgs.runCommand "hostname" {} - "${pkgs.hostname}/bin/hostname > $out"; - hostname = lib.strings.removeSuffix "\n" (builtins.readFile "${getHostname}"); base16-scheme = "atelier-sulphurpool"; base16-scheme-filename = lib.strings.concatStrings (lib.strings.splitString "-" base16-scheme); theme = lib.removeSuffix "\n" (builtins.readFile "${homedir}/.local/share/xtheme"); @@ -33,7 +30,6 @@ in { imports = [ ./common.nix - ./email.nix ]; home = { pointerCursor = { @@ -140,7 +136,6 @@ in keybase.enable = false; mbsync = { - enable = if hostname == "lithium" then true else false; frequency = "*:0/5"; postExec = "${pkgs.notmuch}/bin/notmuch new"; }; -- cgit v1.2.3