nix/home-manager.nix

39 lines
922 B
Nix

{ config, pkgs, ... }: {
# Home-Manager Manual
# https://nix-community.github.io/home-manager/index.html
# Home-Manager Options Search
# https://mipmip.github.io/home-manager-option-search/
home-manager.users.albert = {
home.stateVersion = "23.05";
# User Home-Manager config location
programs.git = {
enable = true;
userName = "albert";
userEmail = "albert@sysctl.io";
extraConfig = {
credential.helper = "cache --timeout=25920000";
};
};
# dconf settings:
# https://github.com/gvolpe/dconf2nix
imports = [ ./dconf.nix ];
};
home-manager.users.root = {
home.stateVersion = "23.05";
# User Home-Manager config location
programs.git = {
enable = true;
userName = "albert";
userEmail = "albert@sysctl.io";
extraConfig = {
credential.helper = "cache --timeout=25920000";
};
};
};
}