refactor(treewide): format with alejandra

This commit is contained in:
ooks-io 2024-07-29 15:00:38 +12:00
parent 7fefb94400
commit 61cef505da
216 changed files with 5995 additions and 3969 deletions

View file

@ -1,26 +1,27 @@
{ pkgs, config, lib, osConfig, ... }:
let
inherit (lib) mkIf;
cfg = config.ooknet.tools.git;
admin = osConfig.ooknet.host.admin;
in
{
{
pkgs,
config,
lib,
osConfig,
...
}: let
inherit (lib) mkIf;
cfg = config.ooknet.tools.git;
admin = osConfig.ooknet.host.admin;
in {
config = mkIf cfg.enable {
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = admin.gitName;
userEmail = admin.gitEmail;
ignores = [ ".direnv" "result" ];
ignores = [".direnv" "result"];
lfs.enable = true;
};
home.packages = with pkgs; [
lazygit
gh
];
};
}