refactor: biggest cleanup of my life
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
git-credential-oauth
|
||||
git-crypt
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user.name = "Leonhard Kost";
|
||||
user.email = "leonhard.kost@gmail.com";
|
||||
credential.helper = [
|
||||
"cache --timeout 21600"
|
||||
("oauth" + lib.optionalString (!config.kekleo.graphical) " -device")
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user