diff options
Diffstat (limited to 'home/git/default.nix')
-rw-r--r-- | home/git/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/home/git/default.nix b/home/git/default.nix index cf6419c..c950a94 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -1,5 +1,10 @@ -{pkgs,lib,...}: let inherit (lib.modules) mkIf; -inherit (pkgs.stdenv.hostPlatform) isDarwin; +{ + pkgs, + lib, + ... +}: let + inherit (lib.modules) mkIf; + inherit (pkgs.stdenv.hostPlatform) isDarwin; in { programs.git = { enable = true; @@ -8,7 +13,7 @@ in { userName = "Linnnus"; userEmail = "[email protected]"; - extraConfig.credential.helper = mkIf isDarwin [ "osxkeychain" ]; + extraConfig.credential.helper = mkIf isDarwin ["osxkeychain"]; }; programs.git-credential-lastpass.enable = !isDarwin; |