From 27fc4a36196d5cb19c1d9403fa1e2045ad1a85c9 Mon Sep 17 00:00:00 2001 From: Devyn Freet Date: Fri, 10 Jul 2026 23:39:19 -0400 Subject: [PATCH] fix?: created config.email option to use for git --- home/options.nix | 4 ++++ home/shell.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home/options.nix b/home/options.nix index a16f28e..7381ea1 100644 --- a/home/options.nix +++ b/home/options.nix @@ -9,5 +9,9 @@ type = lib.types.path; default = "/home/${config.name}"; }; + email = lib.mkOption { + type = lib.types.str; + default = "${config.name}@configureme.guv"; + }; }; } diff --git a/home/shell.nix b/home/shell.nix index 695eb28..dfbe7c5 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -67,7 +67,7 @@ in enable = true; settings.user = { inherit name; - email = config.accounts.email.accounts.${name}.address; + email = config.email; }; }; starship = {