refactor: move email to global variable

This commit is contained in:
2024-10-27 16:40:34 +05:30
parent 1a59094c57
commit f5e87d9be2
10 changed files with 33 additions and 21 deletions

View File

@ -1,9 +1,13 @@
{pkgs, ...}: {
{
pkgs,
email,
...
}: {
programs.rbw = {
enable = true;
settings = {
base_url = "https://bw.tux.rs";
email = "0xtux@pm.me";
email = "${email}";
};
};

View File

@ -1,8 +1,8 @@
{...}: {
{email, ...}: {
programs.git = {
enable = true;
userName = "tuxdotrs";
userEmail = "t@tux.rs";
userEmail = "${email}";
signing = {
key = "~/.ssh/id_ed25519.pub";
signByDefault = true;