mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
add(nix): nixified common
This commit is contained in:
parent
f97e3f8be8
commit
074e78751a
9 changed files with 168 additions and 93 deletions
33
nix/home/common/git/default.nix
Normal file
33
nix/home/common/git/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue