mirror of
https://github.com/nix-community/home-manager
synced 2024-12-05 01:19:46 +01:00
05d9bee4a5
Closes #6005
16 lines
382 B
Nix
16 lines
382 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.git-credential-oauth = { enable = true; };
|
|
|
|
programs.git = { enable = true; };
|
|
|
|
test.stubs.git-credential-oauth = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/git/config
|
|
assertFileContains \
|
|
home-files/.config/git/config \
|
|
"${config.programs.git-credential-oauth.package}/bin/git-credential-oauth"
|
|
'';
|
|
}
|