containers: added radarr
This commit is contained in:
parent
b990d9642d
commit
4322e0032c
@ -19,6 +19,7 @@
|
||||
../modules/containers/actualbudget.nix
|
||||
../modules/containers/ai.nix
|
||||
../modules/containers/jitsi.nix
|
||||
../modules/containers/radarr.nix
|
||||
|
||||
];
|
||||
# Disks
|
||||
|
||||
29
modules/containers/radarr.nix
Normal file
29
modules/containers/radarr.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ config, ... }:
|
||||
|
||||
let
|
||||
workDir = "/srv/containers/radarr";
|
||||
in
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${workDir} 2700 root admin"
|
||||
];
|
||||
|
||||
virtualisation.oci-containers.containers.radarr = {
|
||||
autoStart = true;
|
||||
image = "lscr.io/linuxserver/radarr:6.2.0-nightly";
|
||||
|
||||
ports = [
|
||||
"0.0.0.0:10007:7878"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"${workDir}:/config"
|
||||
];
|
||||
|
||||
environment = {
|
||||
TZ = "Europe/Bucharest";
|
||||
UID = 1000;
|
||||
GID = 10000;
|
||||
};
|
||||
k };
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user