diff --git a/home-manager/default.nix b/home-manager/default.nix index 4db8d445..bb9980b1 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -6,6 +6,13 @@ homeDirectory = "/home/${username}"; sessionPath = [ "$HOME/.local/bin" ]; }; + + home.root = { + inherit username; + stateVersion = hmStateVersion; + homeDirectory = "/root"; + sessionPath = [ "$HOME/.local/bin" ]; + }; imports = [ # Common app configs - Will apply to all users managed by home-manager