add(nix): nixified common

This commit is contained in:
Léana 江 2024-01-19 20:05:39 +01:00 committed by Léana 江
parent f97e3f8be8
commit 074e78751a
9 changed files with 168 additions and 93 deletions

View file

@ -0,0 +1,33 @@
{...}: {
programs = {
git = {
enable = true;
userEmail = "leana.jiang@icloud.com";
userName = "Léana ";
signing = {
key = "3659D5C87A4BC5D7699B37D84E887A4CA9714ADA";
signByDefault = true;
};
lfs.enable = true;
delta = {
enable = true;
options = {
syntax-theme = "OneHalfLight";
features = "side-by-side";
};
};
extraConfig = {
init = {defaultBranch = "mistress";}; # haha gay haha
push = {autoSetupRemote = true;};
pull = {ff = "only";};
safe = {directory = "/etc/docker/compose";};
};
ignores = [
"*~"
"*.swp"
".direnv/"
];
};
bat.enable = true;
};
}