docs: fix nix-darwin module configuration example

The example is missing a `;` which causes this error when you attempt
a `darwin-rebuild switch`.

```
       error: syntax error, unexpected '=', expecting ';'

       at /Users/968713/.nixpkgs/darwin-configuration.nix:17:30:

           16|   }
           17|   home-manager.users.eve = { pkgs, ... }: {
             |                              ^
           18|     home.packages = [
```

(cherry picked from commit 0e7cd64674)
This commit is contained in:
Phil Simpson 2023-12-12 18:01:02 -05:00 committed by Robert Helgesson
parent 8a2f655197
commit 241d2e6934
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -38,7 +38,7 @@ For example, a nix-darwin configuration may include the lines
users.users.eve = { users.users.eve = {
name = "eve"; name = "eve";
home = "/Users/eve"; home = "/Users/eve";
} };
home-manager.users.eve = { pkgs, ... }: { home-manager.users.eve = { pkgs, ... }: {
home.packages = [ pkgs.atool pkgs.httpie ]; home.packages = [ pkgs.atool pkgs.httpie ];
programs.bash.enable = true; programs.bash.enable = true;