mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
24 lines
529 B
Nix
24 lines
529 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;
|
|
};
|
|
};
|
|
}
|