feat: add git oauth -device flag for non graphical system

This commit is contained in:
2026-01-31 19:39:01 +01:00
parent 5ff11b11d8
commit 8c8c80c384
+7 -2
View File
@@ -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")
];
};
};