dotfiles/nixos/common/users.nix
Magic_RB 519d7b3841
Fill out omen, toothpick and heater
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:08:01 +02:00

25 lines
531 B
Nix

{ secret, ... }:
{
users = {
mutableUsers = false;
users.root.hashedPassword = secret.passwordHashes.main or "";
users.main = {
isNormalUser = true;
home = "/home/main";
hashedPassword = secret.passwordHashes.main or "";
description = "main";
uid = 1000;
extraGroups = ["wheel" "audio"];
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFVkFvalffJ/SMjJGG3WPiqCqFygnWzhGUaeALBIoCsJ (none)"];
};
groups.main = {
gid = 1000;
};
};
}