{ config, pkgs, ... }: let home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz"; in { imports = [ (import "${home-manager}/nixos") ]; 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"; }; }; }; 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"; }; }; }; }