mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59: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:
parent
8a2f655197
commit
241d2e6934
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue