summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-05-04 14:43:11 +0200
committerDaiderd Jordan <daiderd@gmail.com>2019-05-04 14:43:36 +0200
commitdc923dbac263ffad20e7baa138561726891d87c8 (patch)
tree6d86c00798f68b3a1aec0b425f0c8a245a44f552
parent2cda9f71137fa24780f879859ce263ae9334a9bf (diff)
ofborg: fix option descriptions
-rw-r--r--modules/services/ofborg/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/services/ofborg/default.nix b/modules/services/ofborg/default.nix
index eedb625..d71992e 100644
--- a/modules/services/ofborg/default.nix
+++ b/modules/services/ofborg/default.nix
@@ -21,7 +21,7 @@ in
description = ''
This option specifies the ofborg package to use. eg.
- (import <ofborg> {}).ofborg.rs
+ (import &lt;ofborg&gt; {}).ofborg.rs
$ nix-channel --add https://github.com/NixOS/ofborg/archive/released.tar.gz ofborg
$ nix-channel --update
@@ -30,7 +30,6 @@ in
services.ofborg.configFile = mkOption {
type = types.path;
- default = "${user.home}/config.json";
description = ''
Configuration file to use for ofborg.
@@ -57,6 +56,8 @@ in
"services.ofborg.configFile is a derivation, credentials will be world readable"
];
+ services.ofborg.configFile = mkDefault "${user.home}/config.json";
+
launchd.daemons.ofborg = {
script = ''
git config --global user.email "ofborg@example.com"