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

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

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