diff --git a/home/default.nix b/home/default.nix index e1ed1fb..40a480f 100644 --- a/home/default.nix +++ b/home/default.nix @@ -7,7 +7,8 @@ }: { home = { username = "guanranwang"; - homeDirectory = if pkgs.stdenv.hostPlatform.isDarwin + homeDirectory = + if pkgs.stdenv.hostPlatform.isDarwin then "/Users/${config.home.username}" else "/home/${config.home.username}";