From 0e7cd646743249c6f4f257e8cfacf73ccf19e0b9 Mon Sep 17 00:00:00 2001 From: Phil Simpson Date: Tue, 12 Dec 2023 18:01:02 -0500 Subject: [PATCH] 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 = [ ``` --- docs/manual/installation/nix-darwin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/installation/nix-darwin.md b/docs/manual/installation/nix-darwin.md index 071006fb..afa93e8f 100644 --- a/docs/manual/installation/nix-darwin.md +++ b/docs/manual/installation/nix-darwin.md @@ -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;