Replace rec with let

This commit is contained in:
Tyler Beckman 2024-12-28 21:21:14 -07:00
parent c0a0046260
commit 89459effd8
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -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";