nixos-example/configuration.nix

21 lines
364 B
Nix

{ pkgs, ... }:
{
imports = [];
networking.hostName = "example";
system.stateVersion = "24.11";
services.openssh = {
enable = true;
settings.PasswordAuthentication = true;
};
users.users.example = {
isNormalUser = true;
description = "example";
extraGroups = [ "networkmanager" "wheel" ];
initialPassword = "hunter2";
};
}