nixos/systems/plex/default.nix

19 lines
539 B
Nix
Raw Normal View History

2022-11-04 19:35:57 +01:00
{ custom, hostname }: { pkgs, ... }:
2022-02-28 22:08:07 +01:00
{
imports = [
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/systems/proxmox-vm" {
2022-02-28 22:08:07 +01:00
ip = "10.7.89.112";
2022-11-04 19:35:57 +01:00
inherit custom hostname;
2022-02-28 22:08:07 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/restic-server-client" {
path = "/var/lib/plex";
tag = "plex";
2022-11-04 16:49:46 +01:00
time = "03:30";
2022-11-04 19:35:57 +01:00
inherit custom;
2022-02-28 22:08:07 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
"${custom.inputs.self}/modules/media-share"
(import "${custom.inputs.self}/modules/plex" { inherit custom; })
2022-02-28 22:08:07 +01:00
];
}