1
0
nixfiles/configuration/common/default.nix

28 lines
584 B
Nix
Raw Normal View History

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