fix?: created config.email option to use for git
This commit is contained in:
@@ -9,5 +9,9 @@
|
|||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
default = "/home/${config.name}";
|
default = "/home/${config.name}";
|
||||||
};
|
};
|
||||||
|
email = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "${config.name}@configureme.guv";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.user = {
|
settings.user = {
|
||||||
inherit name;
|
inherit name;
|
||||||
email = config.accounts.email.accounts.${name}.address;
|
email = config.email;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
starship = {
|
starship = {
|
||||||
|
|||||||
Reference in New Issue
Block a user