reorganization into flat profile-based modules

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-19 16:08:17 +02:00
parent 1bc8c22feb
commit 127227205d
Signed by: semere
GPG key ID: 7FC937214DF30488
15 changed files with 660 additions and 696 deletions

27
modules/git.nix Normal file
View file

@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
userVars,
...
}:
{
home-manager.users."${userVars.username}" = {
programs.git = {
enable = true;
settings = {
user = {
name = userVars.fullName;
email = userVars.email;
};
commit.gpgsign = true;
gpg.program = "gpg";
};
signing = {
key = userVars.gpgKey;
signByDefault = true;
};
};
};
}