1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 13:57:31 +02:00

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 = [
```
This commit is contained in:
Phil Simpson 2023-12-12 18:01:02 -05:00 committed by Mikilio
parent 8b3fb94f60
commit e914868bde
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

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;