28 lines
584 B
Nix
28 lines
584 B
Nix
{ 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; [
|
||
htop
|
||
tmux
|
||
];
|
||
|
||
services.openssh.enable = true;
|
||
services.openssh.passwordAuthentication = false;
|
||
services.openssh.challengeResponseAuthentication = false;
|
||
services.openssh.permitRootLogin = lib.mkDefault "no";
|
||
}
|