1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01: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 = [
```

(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 = {
name = "eve";
home = "/Users/eve";
}
};
home-manager.users.eve = { pkgs, ... }: {
home.packages = [ pkgs.atool pkgs.httpie ];
programs.bash.enable = true;