1
0
Fork 0
forked from fi/nix-infra

Enable firewall and migrate Jellyfin to NixOS

This commit is contained in:
fi 2023-08-02 22:46:07 +02:00
commit 5c63b5d1a3
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
10 changed files with 78 additions and 5 deletions

View file

@ -0,0 +1,17 @@
{ ... }:
{
boot.loader.grub = {
enable = true;
device = "/dev/vda";
};
networking = {
hostName = "web-public-2";
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 ];
};
};
system.stateVersion = "23.05";
}