summaryrefslogtreecommitdiff
path: root/os/server/configuration.nix
blob: d1bea1abd1344e79f38bbff4542bd7af0287033a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ lib, ... }:
{
  imports = [ ../common/configuration.nix ];

  networking.hostName = lib.mkOptionDefault "server";
  sudo.wheelNeedsPassword = false;

  services.openssh = {
    enable = true;
    settings.PasswordAuthentication = false;
  };
}