feat: add git oauth -device flag for non graphical system
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
git-credential-oauth
|
||||
@@ -11,7 +16,7 @@
|
||||
user.email = "leonhard.kost@gmail.com";
|
||||
credential.helper = [
|
||||
"cache --timeout 21600"
|
||||
"oauth" # Eventually with optional -device flag
|
||||
("oauth" + lib.optionalString (!config.kekleo.graphical) " -device")
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user