Formatted

This commit is contained in:
2025-08-08 13:26:21 +03:00
parent 43e1f62a79
commit a98e77d41a
28 changed files with 381 additions and 325 deletions
+27 -25
View File
@@ -1,34 +1,36 @@
{ lib, config, pkgs, ... }:
let
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.git-config.enable;
in {
options.azos.git-config.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
options.azos.git-config.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
config = lib.mkIf isEnabled {
home.packages = with pkgs; [pass-git-helper unzip];
home.packages = with pkgs; [ pass-git-helper unzip ];
programs.git = {
enable = true;
userName = "Aner Zakobar";
userEmail = "aner@zakobar.com";
signing = {
key = "6D17E295C70E2674";
signByDefault = true;
};
extraConfig = {
credential.helper = "!pass-git-helper $@";
};
programs.git = {
enable = true;
userName = "Aner Zakobar";
userEmail = "aner@zakobar.com";
signing = {
key = "6D17E295C70E2674";
signByDefault = true;
};
extraConfig = {
credential.helper = "!pass-git-helper $@";
};
home.file.".config/pass-git-helper/git-pass-mapping.ini".source =
./pass-git-mapping.ini;
};
home.file.".config/pass-git-helper/git-pass-mapping.ini".source =
./pass-git-mapping.ini;
};
}