summaryrefslogtreecommitdiff
path: root/modules/users/root.nix
blob: f826b777741ab47d3803c422144c18d397f8d6e5 (plain)
1
2
3
4
5
6
7
8
9
10
{ config, pkgs, lib, ... }: {

  # Define a user account. Don't forget to set a password with 'passwd'.
  users = {
    users.root = {
      hashedPassword = "$y$j9T$YtRkFL3JLAB/zfyr89aFp.$of1IUt84c2i26l6GQWHO2qX0dNiPDZgVGpaNPVyAs24";
    };
  };
  services.openssh.settings.PasswordAuthentication = false;
}