home: git: use 'mkMailAccount'

This commit is contained in:
Bruno BELANYI 2021-10-12 17:55:48 +02:00
parent 8d8904ccef
commit 111ee136c8

View file

@ -1,6 +1,8 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
cfg = config.my.home.git; cfg = config.my.home.git;
inherit (lib.my) mkMailAddress;
in in
{ {
options.my.home.git = with lib.my; { options.my.home.git = with lib.my; {
@ -11,7 +13,7 @@ in
enable = true; enable = true;
# Who am I? # Who am I?
userEmail = "bruno@belanyi.fr"; userEmail = mkMailAddress "bruno" "belanyi.fr";
userName = "Bruno BELANYI"; userName = "Bruno BELANYI";
# I want the full experience # I want the full experience