2023-11-14 03:22:17 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2023-11-05 09:21:37 +00:00
|
|
|
home = {
|
2023-11-14 03:22:17 +00:00
|
|
|
username = "guanranwang";
|
|
|
|
homeDirectory =
|
|
|
|
if pkgs.stdenv.hostPlatform.isDarwin
|
|
|
|
then "/Users/${config.home.username}"
|
|
|
|
else "/home/${config.home.username}";
|
|
|
|
|
2023-11-05 09:21:37 +00:00
|
|
|
# This value determines the Home Manager release that your
|
|
|
|
# configuration is compatible with. This helps avoid breakage
|
|
|
|
# when a new Home Manager release introduces backwards
|
|
|
|
# incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update Home Manager without changing this value. See
|
|
|
|
# the Home Manager release notes for a list of state version
|
|
|
|
# changes in each release.
|
|
|
|
stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
|
2023-11-14 03:22:17 +00:00
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
2023-11-22 06:29:50 +00:00
|
|
|
|
|
|
|
imports = [
|
2023-11-28 05:40:22 +00:00
|
|
|
./modules
|
2023-11-22 06:29:50 +00:00
|
|
|
];
|
2023-11-05 09:21:37 +00:00
|
|
|
}
|