git: enable use of credential manager
This commit is contained in:
parent
e23a04aaf2
commit
98342ba00f
2 changed files with 11 additions and 0 deletions
|
|
@ -13,12 +13,17 @@ topLevel: {
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
osConfig,
|
osConfig,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
username = topLevel.config.flake.meta.users.cholli.username;
|
username = topLevel.config.flake.meta.users.cholli.username;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
home.packages = [
|
||||||
|
pkgs.git-credential-manager
|
||||||
|
];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
@ -37,6 +42,11 @@ topLevel: {
|
||||||
name = topLevel.config.flake.meta.users.cholli.name;
|
name = topLevel.config.flake.meta.users.cholli.name;
|
||||||
email = topLevel.config.flake.meta.users.cholli.email;
|
email = topLevel.config.flake.meta.users.cholli.email;
|
||||||
};
|
};
|
||||||
|
credential = {
|
||||||
|
helper = "manager";
|
||||||
|
credentialStore = "secretservice";
|
||||||
|
"https://dev.azure.com".useHttpPath = true;
|
||||||
|
};
|
||||||
core = {
|
core = {
|
||||||
fsmonitor = true;
|
fsmonitor = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
imports = [ inputs.disko.nixosModules.disko ];
|
imports = [ inputs.disko.nixosModules.disko ];
|
||||||
|
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
|
boot.kernelParams = [ "zfs.zfs_arc_max=34359738368" ];
|
||||||
networking.hostId = "007f0200";
|
networking.hostId = "007f0200";
|
||||||
|
|
||||||
services.zfs = {
|
services.zfs = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue