aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-02 16:01:07 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-02 16:01:07 +0530
commit3a0976e4a6a504d204ebff54ec67bce8a04025f9 (patch)
tree8a424859b6e0eb87dcaad1262a297f1ccd0c51b0
parent0afbd64a18aef6c048fba40d1c1350dbcdc4930a (diff)
downloadhome-manager-config-3a0976e4a6a504d204ebff54ec67bce8a04025f9.tar.gz
home-manager-config-3a0976e4a6a504d204ebff54ec67bce8a04025f9.zip
feat(office/calcurse): added git configuration for calcurse syncing repo
-rw-r--r--modules/office/calcurse/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/office/calcurse/default.nix b/modules/office/calcurse/default.nix
index 2825b41..e8b38b6 100644
--- a/modules/office/calcurse/default.nix
+++ b/modules/office/calcurse/default.nix
@@ -65,5 +65,23 @@ in
executable = true;
force = true;
};
+
+ programs.git.includes = lib.mkIf config.development.git.enable [
+ {
+ condition = "gitdir:${config.xdg.dataHome}/calcurse/";
+ contents = {
+ user = {
+ name = "Calcurse of ${config.home.username}";
+ email = "${config.home.username}@calcurse.localhost";
+ };
+ commit = {
+ gpgSign = false;
+ };
+ tag = {
+ gpgSign = false;
+ };
+ };
+ }
+ ];
};
}