feat: add nixarr
This commit is contained in:
parent
e6cae70857
commit
974b872e83
42 changed files with 1161 additions and 4 deletions
33
machines/moritz-server/nixarr/default.nix
Normal file
33
machines/moritz-server/nixarr/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.nixarr.nixosModules.default
|
||||
./autobrr.nix
|
||||
./jellyfin.nix
|
||||
./jellyseerr.nix
|
||||
./ntfy.nix
|
||||
./prowlarr.nix
|
||||
./radarr.nix
|
||||
./recyclarr.nix
|
||||
./sonarr.nix
|
||||
./transmission.nix
|
||||
];
|
||||
|
||||
nixarr = {
|
||||
enable = true;
|
||||
stateDir = "/var/lib/nixarr";
|
||||
mediaDir = "/data/nixarr";
|
||||
vpn = {
|
||||
enable = true;
|
||||
wgConf = config.clan.core.vars.generators.nixarr-vpn.files.config.path;
|
||||
};
|
||||
};
|
||||
|
||||
clan.core.vars.generators."nixarr-vpn" = {
|
||||
prompts.config.type = "multiline";
|
||||
prompts.config.persist = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue