Files

26 lines
476 B
Nix

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