Put every variables in top of the file for easy copy to another config

This commit is contained in:
Hadi
2024-10-09 15:12:50 +02:00
parent 55c7c7068a
commit 0bd55fdc10
27 changed files with 298 additions and 301 deletions

View File

@@ -1,8 +1,12 @@
{ config, ... }: {
{ config, ... }:
let
username = config.var.git.username;
email = config.var.git.email;
in {
programs.git = {
enable = true;
userName = config.var.git.username;
userEmail = config.var.git.email;
userName = username;
userEmail = email;
ignores = [
".cache/"
".DS_Store"