summaryrefslogtreecommitdiff
path: root/home/common/modules/git.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-03 18:28:35 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-03 18:39:43 +0530
commit279ff6251173e161cc50d8ae03cb3cd2e90a61a4 (patch)
tree971260447397a872be4b051b55864b482acc4a57 /home/common/modules/git.nix
parent4311eaf183976752acdf5624ea68516cac6f0d94 (diff)
global: init
global contains shared data between home-manager and nixos modules. they're just structured data, it's doesn't contain any module functionally in the normal sense, an example is preferred monospace font or user's mail id `config.global.userdata.email`
Diffstat (limited to 'home/common/modules/git.nix')
-rw-r--r--home/common/modules/git.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/common/modules/git.nix b/home/common/modules/git.nix
index 7337f7b..1f10da7 100644
--- a/home/common/modules/git.nix
+++ b/home/common/modules/git.nix
@@ -1,6 +1,6 @@
{ config, ... }: let
- userName = config.userdata.nameFq;
- userEmail = config.userdata.email;
+ userName = config.global.userdata.nameFq;
+ userEmail = config.global.userdata.email;
in {
programs.git = {
enable = true;