formatting and hooks
This commit is contained in:
1 parent
7d5ddd9013
commit
2d956525cc
15 files changed
+146
-65
No files matched your search
@@ -58,8 +58,8 @@
|
||||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"* 23 * * * root nix-collect-garbage --delete-older-than 7d"
|
||||
"* 23 * * * ${config.skyg.user.name} nix-collect-garbage --delete-older-than 7d"
|
||||
"0 23 * * * root nix-collect-garbage --delete-older-than 7d"
|
||||
"0 23 * * * ${config.skyg.user.name} nix-collect-garbage --delete-older-than 7d"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -23,7 +23,7 @@ in {
|
||||
type = types.str;
|
||||
};
|
||||
|
||||
metadtaDir = mkOption {
|
||||
metadataDir = mkOption {
|
||||
description =
|
||||
"Path to Audiobookshelf config folder";
|
||||
type = types.str;
|
||||
@@ -80,7 +80,7 @@ in {
|
||||
ExecStart =
|
||||
"${cfg.package}/bin/audiobookshelf --host ${cfg.host} --port ${
|
||||
toString cfg.port
|
||||
} --config ${cfg.configDir} --metadata ${cfg.metadtaDir}";
|
||||
} --config ${cfg.configDir} --metadata ${cfg.metadataDir}";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user