nixos/systems/plex/default.nix

19 lines
535 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-08 21:22:24 +01:00
(import "${custom.inputs.self}/systems/raspi4" {
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-10 00:25:15 +01:00
time = "02: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
];
}