forked from fi/nix-infra
Enable firewall and migrate Jellyfin to NixOS
This commit is contained in:
parent
693c6da88a
commit
5c63b5d1a3
10 changed files with 78 additions and 5 deletions
17
hosts/web-nonpublic-linuxcrewd/configuration.nix
Normal file
17
hosts/web-nonpublic-linuxcrewd/configuration.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue