nix/hosts/plex/default.nix
2024-12-24 15:08:14 +01:00

40 lines
638 B
Nix

{
config,
pkgs,
lib,
...
}:
{
my = {
utils.commons.enable = true;
services.plex = {
enable = true;
tautulli.enable = true;
ombi.enable = true;
};
networking.nas-samba-share = {
enable = true;
allowUsers = [ config.my.services.plex.user ];
};
virtualisation.proxmox.enable = true;
};
time.timeZone = "Europe/Rome";
# Extra packages
environment.systemPackages = with pkgs; [ ];
services = {
openssh.enable = true;
};
networking = {
# firewall.allowedTCPPorts = [ 80 ];
nameservers = [ "192.168.1.2" ];
};
system.stateVersion = "24.11";
}