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:
parent
2cda9f7113
commit
dc923dbac2
1 changed files with 3 additions and 2 deletions
|
@ -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 <ofborg> {}).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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue