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 = {