{ config, lib, pkgs, ... }: { imports = [ ./secrets-permissions.nix ./deploy.nix ]; # Enable the OpenSSH daemon services.openssh.enable = true; services.openssh.settings.PermitRootLogin = lib.mkDefault "no"; services.fail2ban.enable = true; # Activate nix flakes. nix.settings.experimental-features = [ "nix-command" "flakes" ]; time.timeZone = "Europe/Paris"; i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16"; keyMap = "fr-bepo"; }; environment.systemPackages = with pkgs; [ emacs wget htop tmux bmon nixfmt-classic ncdu git tig restic ]; # required when using kitty environment.enableAllTerminfo = true; programs.git = { enable = true; config.user = { name = "root"; email = "root@${config.networking.hostName}"; }; config.alias = { ci = "commit"; co = "checkout"; st = "status"; br = "branch"; }; }; services.emacs = { enable = true; defaultEditor = true; }; }