Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
00e815c003
|
|||
|
3910f14eef
|
+2
-1
@@ -1,3 +1,4 @@
|
||||
# Nix
|
||||
/result
|
||||
/*.qcow2
|
||||
/.direnv
|
||||
/result
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
@@ -12,5 +13,5 @@
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
networking.firewall.allowedTCPPorts = config.services.openssh.ports;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user