add initial password for user david

This commit is contained in:
ulic-youthlic 2025-01-20 00:03:07 +08:00
parent 7bebb5c060
commit ef9e77c9d8
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -1,14 +1,18 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
users.users.david = { users = {
isNormalUser = true; mutableUsers = true;
description = "david"; users.david = {
extraGroups = [ initialHashedPassword = "$y$j9T$eS5zCi4W.4IPpf3P8Tb/o1$xhumXY1.PJKmTguNi/zlljLbLemNGiubWoUEc878S36";
"networkmanager" isNormalUser = true;
"libvirtd" description = "david";
"wheel" extraGroups = [
"video" "networkmanager"
]; "libvirtd"
"wheel"
"video"
];
};
}; };
services.udev = { services.udev = {
enable = true; enable = true;