1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

ofborg: fix option descriptions

This commit is contained in:
Daiderd Jordan 2019-05-04 14:43:11 +02:00
parent 2cda9f7113
commit dc923dbac2
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -21,7 +21,7 @@ in
description = '' description = ''
This option specifies the ofborg package to use. eg. 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 --add https://github.com/NixOS/ofborg/archive/released.tar.gz ofborg
$ nix-channel --update $ nix-channel --update
@ -30,7 +30,6 @@ in
services.ofborg.configFile = mkOption { services.ofborg.configFile = mkOption {
type = types.path; type = types.path;
default = "${user.home}/config.json";
description = '' description = ''
Configuration file to use for ofborg. 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 is a derivation, credentials will be world readable"
]; ];
services.ofborg.configFile = mkDefault "${user.home}/config.json";
launchd.daemons.ofborg = { launchd.daemons.ofborg = {
script = '' script = ''
git config --global user.email "ofborg@example.com" git config --global user.email "ofborg@example.com"