add ssh server to polaris
This commit is contained in:
1 parent
2172aeb179
commit
b12c211a69
2 files changed
+6
-2
No files matched your search
@@ -37,6 +37,7 @@ in
|
||||
{
|
||||
imports = [
|
||||
nixosModules.workstation-base
|
||||
nixosModules.openssh
|
||||
nixosModules.steam
|
||||
./_hardware.nix
|
||||
]
|
||||
@@ -46,5 +47,10 @@ in
|
||||
common-cpu-amd
|
||||
common-gpu-amd
|
||||
]);
|
||||
|
||||
services.openssh.openFirewall = false;
|
||||
networking.firewall.extraInputRules = ''
|
||||
ip saddr 192.168.178.0/24 tcp dport 22 accept
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user