diff options
author | Ben Sima <ben@bsima.me> | 2023-01-20 11:52:01 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-01-20 11:52:01 -0500 |
commit | 66d3268b80620ae1236cbfb7cbf07543061be607 (patch) | |
tree | 93d5e358ecfba5c15ec10f0436d2cb189e7876ac /lib | |
parent | ba74d12ea5a694ea4f5fafdc1a62d58a6916dcc0 (diff) |
working on my email setup
Change-Id: Iff7f41d9474c0a6785c3f049b7b76da75c130d81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/email.nix | 17 | ||||
-rw-r--r-- | lib/linux.nix | 5 |
2 files changed, 6 insertions, 16 deletions
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"; }; |