Fix an issue with darwin/home-manager expectatins for home directory

This commit is contained in:
Haak Saxberg 2023-05-30 12:18:20 -07:00
parent 111313283f
commit cdc8897467
2 changed files with 5 additions and 1 deletions

View file

@ -29,7 +29,7 @@ with builtins;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.username = "haak";
home.homeDirectory = "/home/haak";
home.homeDirectory = if pkgs.stdenv.isDarwin then "/Users/haak/" else "/home/haak";
home.stateVersion = "22.05";
# no need for home-manager news, thanks