flake/users/guanranwang/home-manager/profiles/core/default.nix

31 lines
770 B
Nix
Raw Normal View History

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;
imports = [
2023-11-29 18:38:05 +00:00
../../modules
];
2023-11-05 09:21:37 +00:00
}