2023-06-30 16:10:57 +02:00
|
|
|
{ config, pkgs, ... }: {
|
2023-06-30 04:39:01 +02:00
|
|
|
# Home-Manager Manual
|
|
|
|
# https://nix-community.github.io/home-manager/index.html
|
|
|
|
|
|
|
|
# Home-Manager Options Search
|
|
|
|
# https://mipmip.github.io/home-manager-option-search/
|
2023-06-29 14:16:58 +02:00
|
|
|
|
|
|
|
home-manager.users.albert = {
|
2023-06-29 14:25:10 +02:00
|
|
|
home.stateVersion = "23.05";
|
2023-06-30 00:56:45 +02:00
|
|
|
# User Home-Manager config location
|
2023-06-29 14:54:49 +02:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "albert";
|
|
|
|
userEmail = "albert@sysctl.io";
|
2023-06-29 15:00:34 +02:00
|
|
|
extraConfig = {
|
2023-06-29 15:06:04 +02:00
|
|
|
credential.helper = "cache --timeout=25920000";
|
2023-06-29 15:00:34 +02:00
|
|
|
};
|
2023-06-30 10:33:18 +02:00
|
|
|
};
|
2023-06-30 01:13:12 +02:00
|
|
|
|
2023-06-30 04:39:01 +02:00
|
|
|
# dconf settings:
|
|
|
|
# https://github.com/gvolpe/dconf2nix
|
|
|
|
|
2023-06-29 14:16:58 +02:00
|
|
|
};
|
2023-06-29 15:02:12 +02:00
|
|
|
|
|
|
|
home-manager.users.root = {
|
2023-06-30 10:33:18 +02:00
|
|
|
home.stateVersion = "23.05";
|
2023-06-30 00:56:45 +02:00
|
|
|
# User Home-Manager config location
|
2023-06-30 10:33:18 +02:00
|
|
|
programs.git = {
|
2023-06-29 15:02:12 +02:00
|
|
|
enable = true;
|
|
|
|
userName = "albert";
|
2023-06-30 16:24:07 +02:00
|
|
|
userEmail = "albert@sysctl.io000";
|
2023-06-29 15:02:12 +02:00
|
|
|
extraConfig = {
|
2023-06-29 15:05:48 +02:00
|
|
|
credential.helper = "cache --timeout=25920000";
|
2023-06-29 15:02:12 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|