Update and rename webservices.nix to nginx.nix
This commit is contained in:
parent
fe6f4c01cd
commit
f8759889bf
1 changed files with 1 additions and 8 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#nginx.nix
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||||
|
|
@ -29,13 +30,5 @@
|
|||
|
||||
# Open firewall
|
||||
networking.firewall.allowedTCPPorts = [ 80 81 443 ];
|
||||
|
||||
# Jellyfin
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
# Also add jellyfin to media group for reading
|
||||
users.users.jellyfin.extraGroups = [ "media" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue