wip(home): refactor home modules *WILL NOT BUILD*

This commit is contained in:
ooks-io 2024-06-04 21:19:35 +12:00
parent 2033810429
commit 6a591ecbf7
115 changed files with 1028 additions and 791 deletions

View file

@ -0,0 +1,26 @@
{ 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;
extraConfig = {
gpg."ssh".program = "${pkgs._1password-gui}/bin/op-ssh-sign";
};
ignores = [ ".direnv" "result" ];
lfs.enable = true;
};
home.packages = with pkgs; [
lazygit
];
};
}