diff options
author | Linnnus <[email protected]> | 2023-10-08 18:16:06 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-10-08 18:16:06 +0200 |
commit | d397355cfaa8b49471305f52d125cd73e4191a3e (patch) | |
tree | d352ba74bbc7a228d77540331af91c2e8078fb00 /home/git/default.nix | |
parent | 5f86e91cfff7d67ec446f9b3c7e1c6785d8c8f77 (diff) |
Misc formatting/cleaning
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; |