From 68ffdbeb3724458227ab54b50fd9d870a1e909fc Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Thu, 15 Dec 2016 22:03:06 +0100 Subject: [PATCH] add darwin-option example to readme --- README.md | 15 +++++++++++++++ pkgs/nix-tools/darwin-option.sh | 15 ++++++++------- pkgs/nix-tools/darwin-rebuild.sh | 1 + 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b8d88d5d..efcceb20 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,21 @@ writing defaults... $ ``` +``` +$ darwin-option services.activate-system.enable ~/src/nix-darwin +Value: +true + +Default: +false + +Example: +no example + +Description: +Whether to activate system at boot time. +``` + ## Install This will link the system profile to `/run/current-system`, you have to create `/run` or symlink it to `private/var/run`. diff --git a/pkgs/nix-tools/darwin-option.sh b/pkgs/nix-tools/darwin-option.sh index 24c21f67..e05abd70 100755 --- a/pkgs/nix-tools/darwin-option.sh +++ b/pkgs/nix-tools/darwin-option.sh @@ -5,7 +5,8 @@ export PATH=@path@:$PATH showSyntax() { - echo "$0: not implemented" >&2 + echo "$0: