git: enable use of credential manager

This commit is contained in:
Christoph Hollizeck 2026-02-04 12:31:47 +01:00
parent e23a04aaf2
commit 98342ba00f
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
2 changed files with 11 additions and 0 deletions

View file

@ -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;
}; };

View file

@ -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 = {