docs: correct improper import of home.nix (#6732)

This change improves the module system's error messages.
This commit is contained in:
Tobor
2025-03-30 16:39:15 +02:00
committed by GitHub
parent 7170300119
commit 2760046f34
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ to that of NixOS. The `flake.nix` would be:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jdoe = import ./home.nix;
home-manager.users.jdoe = ./home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix

View File

@@ -23,7 +23,7 @@ be as follows:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jdoe = import ./home.nix;
home-manager.users.jdoe = ./home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix