all repos — nixfiles @ 0c990869d74b2465285b35ac54c2e0e4f5539446

System and user configuration, managed by nix and home-manager

Fix mail setup error on other machines
Alan Pearce alan@alanpearce.eu
Wed, 09 Oct 2019 19:36:43 +0200
commit

0c990869d74b2465285b35ac54c2e0e4f5539446

parent

f3562a8d90671ed679797811487f1e85759bd0ee

2 files changed, 2 insertions(+), 3 deletions(-)

jump to
M user/satoshipad.nixuser/satoshipad.nix
@@ -24,8 +24,6 @@ ./settings/xresources.nix     ./settings/zsh.nix
   ];
 
-  accounts.email.accounts.satoshipay.primary = true;
-
   xsession.windowManager.i3 = {
     config = {
       assigns = {
M user/settings/satoshipay.nixuser/settings/satoshipay.nix
@@ -1,4 +1,4 @@-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
 
 let
   inherit (pkgs) stdenv;
@@ -54,6 +54,7 @@ address = "alan@satoshipay.io";   in
   {
     inherit address;
+    primary = lib.mkDefault true;
     realName = "Alan Pearce";
     flavor = "gmail.com";
     passwordCommand = "${pkgs.python3Packages.keyring}/bin/keyring get satoshipay-google-mail ${address}";