no passwords

This commit is contained in:
Daylin Morgan 2023-05-04 09:58:03 -05:00
parent dd37a55211
commit aeacb8fdfd
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -37,7 +37,7 @@
networking.hostName = "algiz"; networking.hostName = "algiz";
time.timeZone = "America/Chicago"; time.timeZone = "America/Chicago";
programs.zsh.enable = true; programs.zsh.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [ programs.nix-ld.libraries = with pkgs; [
@ -104,7 +104,10 @@
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh = {
enable = true;
passwordAuthentication = false;
};
users.mutableUsers = false; users.mutableUsers = false;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default