aboutsummaryrefslogtreecommitdiff
path: root/profiles/server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/server.nix')
-rw-r--r--profiles/server.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/server.nix b/profiles/server.nix
index 5a95dff..731ebe8 100644
--- a/profiles/server.nix
+++ b/profiles/server.nix
@@ -2,6 +2,7 @@
{
imports = [
./default.nix
+ ./tailscale.nix
];
powerManagement.cpuFreqGovernor = "schedutil";
@@ -12,4 +13,12 @@
packages = with pkgs; [ terminus_font ];
keyMap = "us";
};
+
+ services.openssh = {
+ enable = true;
+ permitRootLogin = "yes";
+ passwordAuthentication = false;
+ };
+
+ networking.firewall.allowedTCPPorts = [ 22 ];
}