13 lines
289 B
Nix
13 lines
289 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
config = lib.mkMerge [
|
|
{
|
|
users.users."${config.system.mainUser}" = {
|
|
isNormalUser = true;
|
|
initialPassword = "1";
|
|
extraGroups = [ "wheel" ];
|
|
};
|
|
services.getty.autologinUser = config.system.mainUser;
|
|
}
|
|
];
|
|
}
|