21 lines
368 B
Nix
21 lines
368 B
Nix
{
|
|
self,
|
|
inputs,
|
|
moduleWithSystem,
|
|
...
|
|
}: {
|
|
flake.nixosModules.user = moduleWithSystem ({inputs', ...}: let
|
|
in {
|
|
users.users.user01 = {
|
|
isNormalUser = true;
|
|
initialPassword = "password";
|
|
shell = inputs'.nix-config.packages.zsh;
|
|
description = "user01";
|
|
extraGroups = [
|
|
"root"
|
|
"wheel"
|
|
];
|
|
};
|
|
});
|
|
}
|