nix/laptop/home-manager.nix
2023-06-29 21:55:02 +09:00

23 lines
No EOL
660 B
Nix

{ 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 = {
/* The home.stateVersion option does not have a default and must be set */
home.stateVersion = "23.05";
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
programs.git = {
enable = true;
userName = "albert";
userEmail = "albert@sysctl.io";
includes.credentials.contents = {
helper = "cache --timeout=25920000";
};
};
};
}