2 Commits

Author SHA1 Message Date
ErrorNoInternet 00e815c003 treewide: use flake with direnv
Check / Nix flake (push) Failing after 9s
Lint / Nix expressions (push) Failing after 12s
2026-05-05 13:18:25 -04:00
ErrorNoInternet 3910f14eef nixos/openssh: dynamically use openssh port for firewall 2026-05-05 13:18:25 -04:00
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
use flake
+2 -1
View File
@@ -1,3 +1,4 @@
# Nix
/result
/*.qcow2
/.direnv
/result
+2 -1
View File
@@ -1,3 +1,4 @@
{ config, ... }:
{
services.openssh = {
enable = true;
@@ -12,5 +13,5 @@
};
};
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedTCPPorts = config.services.openssh.ports;
}