setup new host + migrate containers to it

This commit is contained in:
♥ Minnie ♥ 2023-10-30 16:39:05 +08:00
parent 804423319f
commit 0949fbc9c7
12 changed files with 8 additions and 15 deletions

View file

@ -64,6 +64,14 @@
];
};
viridian = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
modules = [
# > Our main nixos configuration file <
./nixos/viridian/configuration.nix
];
};
lavender = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs; };
modules = [

View file

@ -1,14 +0,0 @@
{ ... }:
{
# Plex
virtualisation.oci-containers.containers."plex" = {
autoStart = true;
image = "lscr.io/linuxserver/plex:latest";
volumes = [
"/srv/containers/plex:/config"
"/srv/data/media:/data/media:ro"
];
extraOptions = ["--network=host"];
};
}

View file

@ -5,7 +5,6 @@
imports = [
./homepage
./pihole
./plex
./sonarr
./radarr
./prowlarr