aboutsummaryrefslogblamecommitdiff
path: root/profiles/server.nix
blob: 5f1ce107e332ce75fecff8500b32a81be9b0c894 (plain) (tree)
1
2
3
4
5
6
7
8
9



                           
                   
    
 

                                                






                                               
 
{ pkgs, config, lib, ... }:
{
  imports = [
    ./default.nix
    ./tailscale.nix
  ];

  powerManagement.cpuFreqGovernor = "schedutil";

  services.openssh = {
    enable = true;
    permitRootLogin = "yes";
    passwordAuthentication = false;
  };

  networking.firewall.allowedTCPPorts = [ 22 ];
}