nixos/systems/plex/default.nix

25 lines
466 B
Nix
Raw Normal View History

2023-05-29 16:21:23 +02:00
{ hostname }: { inputs, pkgs, ... }:
2022-02-28 22:08:07 +01:00
{
imports = [
"${inputs.self}/modules/hardware/raspi4/raspi-ethernet.nix"
2022-02-28 22:08:07 +01:00
];
2023-06-07 19:06:20 +02:00
hardware = {
az-raspi4-ethernet = {
2023-06-07 19:06:20 +02:00
enable = true;
hostname = hostname;
ip = "10.7.89.112";
};
};
2023-06-05 15:35:26 +02:00
services = {
az-media-share.enable = true;
2023-06-06 21:46:36 +02:00
az-plex.enable = true;
2023-06-06 22:09:36 +02:00
az-restic-client-server = {
enable = true;
path = "/var/lib/plex";
tag = "plex";
time = "02:30";
};
2023-06-05 15:35:26 +02:00
};
2022-02-28 22:08:07 +01:00
}