From d397355cfaa8b49471305f52d125cd73e4191a3e Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 8 Oct 2023 18:16:06 +0200 Subject: Misc formatting/cleaning --- home/git/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'home/git/default.nix') 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 = "linnnus@users.noreply.github.com"; - extraConfig.credential.helper = mkIf isDarwin [ "osxkeychain" ]; + extraConfig.credential.helper = mkIf isDarwin ["osxkeychain"]; }; programs.git-credential-lastpass.enable = !isDarwin; -- cgit v1.2.3