2020-12-06 16:40:47 +01:00
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
networking.domain = "net.clerie.de";
|
|
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
console = {
|
|
|
|
|
keyMap = "de-latin1";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
users.users.clerie = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2020-12-06 17:40:23 +01:00
|
|
|
|
git
|
2020-12-06 16:40:47 +01:00
|
|
|
|
htop
|
|
|
|
|
tmux
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
services.openssh.passwordAuthentication = false;
|
|
|
|
|
services.openssh.challengeResponseAuthentication = false;
|
|
|
|
|
services.openssh.permitRootLogin = lib.mkDefault "no";
|
|
|
|
|
}
|