Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/42willow/flake. my system configurations ^-^ 42willow.github.io/flake
home-manager nix nixos
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, osConfig, config, ...}: let cfg = osConfig.nest.programs;in { config = lib.mkIf cfg.cli { programs.git = { enable = true; lfs.enable = true;
settings = { user = { name = "willow"; email = "42willow" + "@" + "pm.me"; signingkey = osConfig.age.secrets.gh.path; };
alias = { co = "checkout"; br = "branch"; ci = "commit"; st = "status"; aa = "add"; aliases = "config --get-regexp '^alias\\.'"; };
init.defaultBranch = "main"; credential.helper = "store";
pull = { rebase = true; ff = "only"; }; push = { autoSetupRemote = true; }; rebase = { autoSquash = true; autoStash = true; }; merge = { ff = "only"; };
# prevent data corruption transfer.fsckObjects = true; fetch.fsckObjects = true; receive.fsckObjects = true;
# commit signing commit.gpgsign = true; gpg.format = "ssh"; gpg.ssh.allowedSignersFile = "${config.home.homeDirectory}/.ssh/allowed_signers"; }; }; programs.gh.enable = true; };}