setup new host + migrate containers to it
This commit is contained in:
parent
804423319f
commit
0949fbc9c7
12 changed files with 8 additions and 15 deletions
15
nixos/viridian/containers/sonarr/default.nix
Normal file
15
nixos/viridian/containers/sonarr/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Sonarr
|
||||
virtualisation.oci-containers.containers."sonarr" = {
|
||||
autoStart = true;
|
||||
image = "cr.hotio.dev/hotio/sonarr:v4";
|
||||
volumes = [
|
||||
"/srv/containers/sonarr:/config"
|
||||
"/srv/data:/data"
|
||||
];
|
||||
ports = [ "8989:8989" ];
|
||||
extraOptions = ["--network=media-stack"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue