add MicroTik WinBox
This commit is contained in:
parent
1ee0ba1a4c
commit
892a1ae877
2 changed files with 19 additions and 1 deletions
6
hosts/modules/apps/winbox.nix
Normal file
6
hosts/modules/apps/winbox.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
programs.winbox = {
|
||||
enable = true;
|
||||
openFirewall = false; # port: 5678
|
||||
};
|
||||
}
|
||||
|
|
@ -20,7 +20,9 @@ in {
|
|||
../modules/wm/hyprland.nix
|
||||
|
||||
../modules/steam.nix
|
||||
|
||||
../modules/obsidian.nix
|
||||
../modules/apps/winbox.nix
|
||||
|
||||
#../modules/flipperzero.nix
|
||||
#../modules/chameleonultragui.nix
|
||||
|
|
@ -50,6 +52,8 @@ in {
|
|||
steam-unwrapped
|
||||
dwarf-fortress
|
||||
|
||||
winbox
|
||||
|
||||
obsidian
|
||||
gitkraken
|
||||
|
||||
|
|
@ -118,7 +122,15 @@ in {
|
|||
hostName = "myputer";
|
||||
networkmanager.enable = true;
|
||||
|
||||
firewall.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
22 # SSH
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
5678 # MikroTik WinBox
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# ----- SERVICES -----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue