diff --git a/flake.nix b/flake.nix
index f83ef5a..6b2b796 100644
--- a/flake.nix
+++ b/flake.nix
@@ -326,6 +326,7 @@
         username = "root";
         config = { pkgs, ...}: {
           programs.bash.enable = true;
+          home.homeDirectory = "/root";
 
           # update nix system-wide since it's installed via root profile
           home.packages = with pkgs; [ nix ];