2023-06-29 14:16:58 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
2023-06-29 14:43:03 +02:00
|
|
|
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
|
2023-06-29 14:16:58 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
(import "${home-manager}/nixos")
|
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.albert = {
|
|
|
|
/* The home.stateVersion option does not have a default and must be set */
|
2023-06-29 14:25:10 +02:00
|
|
|
home.stateVersion = "23.05";
|
2023-06-29 14:16:58 +02:00
|
|
|
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
|
2023-06-29 14:54:49 +02:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "albert";
|
|
|
|
userEmail = "albert@sysctl.io";
|
|
|
|
includes.credentials.contents {
|
|
|
|
helper = "cache --timeout=25920000";
|
|
|
|
};
|
|
|
|
};
|
2023-06-29 14:16:58 +02:00
|
|
|
};
|
|
|
|
}
|