mirror of
https://github.com/hyprwm/hyprland-infra.git
synced 2025-05-12 21:30:36 +01:00
modules/firewall: toString ssh port
I knew I should've done it...
This commit is contained in:
parent
e4c834d3a6
commit
4a89119653
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{config, ...}: let
|
||||
# Assume first port in the list is the default port. This makes sense only if openssh
|
||||
# is bound to a single port. This is, ultimately, non-deterministic.
|
||||
sshPort = builtins.elemAt config.services.openssh.ports 0;
|
||||
sshPort = toString (builtins.elemAt config.services.openssh.ports 0);
|
||||
in {
|
||||
networking = {
|
||||
firewall.enable = true; # defaults to true, but enable anyway
|
||||
|
|
Loading…
Reference in a new issue