# Nixin common configuration for all servers { config, pkgs, lib, ... }: { # Set NIX_PATH to use nixpkgs deployed with krops environment.variables.NIX_PATH = lib.mkForce "/var/src"; environment.shellAliases = { tm = "tmux new -A -s shared" ; ll = "ls -al"; }; # Enable the OpenSSH daemon. services.openssh.enable = true; services.openssh.ports = [ 144 ]; services.openssh.settings = { PermitRootLogin = "no"; PasswordAuthentication = false; KbdInteractiveAuthentication = false; }; }