Skip to content

Commit

Permalink
Fixed docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Mar 1, 2024
1 parent a438ccb commit 95766f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nixarr/transmission/cross-seed/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@
...
}:
with lib; let
cfg = config.util-nixarr.services.prowlarr;
cfg = config.util-nixarr.services.cross-seed;
#settingsFormat = pkgs.formats.json {};
#settingsFile = settingsFormat.generate "settings.json" cfg.settings;
cross-seedPkg = import ../../../pkgs/cross-seed { inherit (pkgs) stdenv lib fetchFromGitHub; };
in {
options = {
util-nixarr.services.prowlarr = {
util-nixarr.services.cross-seed = {
enable = mkEnableOption "cross-seed";

configFile = mkOption {
type = with types; nullOr path;
default = null;
example = "/var/lib/secrets/cross-seed/settings.js";
description = "";
description = "cross-seed config file"; # TODO: todo
};

dataDir = mkOption {
type = types.path;
default = "/var/lib/cross-seed";
description = "cross-seed dataDir"; # TODO: todo
};

user = mkOption {
Expand All @@ -45,7 +46,7 @@ in {
"d '${cfg.dataDir}' 0700 ${cfg.user} ${cfg.group} - -"
];

systemd.services.prowlarr = {
systemd.services.cross-seed = {
description = "cross-seed";
after = ["network.target"];
wantedBy = ["multi-user.target"];
Expand Down

0 comments on commit 95766f8

Please sign in to comment.