From 89459effd801d078f93d42754edba770cd1cf7ee Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Sat, 28 Dec 2024 21:21:14 -0700 Subject: [PATCH] Replace rec with let --- home-manager/config/accounts/email.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/home-manager/config/accounts/email.nix b/home-manager/config/accounts/email.nix index 74557ee..a903dd1 100755 --- a/home-manager/config/accounts/email.nix +++ b/home-manager/config/accounts/email.nix @@ -1,9 +1,9 @@ { lib, config, ... }: { accounts.email.accounts = lib.mkIf config.meta.home-manager.email.enable { - PurelyMail = rec { + PurelyMail = let address = "ty@myriation.xyz"; in { realName = "Tyler Beckman"; - address = "ty@myriation.xyz"; + inherit address; userName = address; primary = true; @@ -41,9 +41,9 @@ thunderbird.enable = config.meta.home-manager.email.thunderbird.enable; }; - Gmail = rec { + Gmail = let address = "tbeckman530@gmail.com"; in { realName = "Tyler Beckman"; - address = "tbeckman530@gmail.com"; + inherit address; userName = address; flavor = "gmail.com"; @@ -65,9 +65,9 @@ thunderbird.enable = config.meta.home-manager.email.thunderbird.enable; }; - School = rec { + School = let address = "tyler_beckman@mines.edu"; in { realName = "Tyler Beckman"; - address = "tyler_beckman@mines.edu"; + inherit address; userName = address; flavor = "outlook.office365.com";