feat(heimdall): create user.
This commit is contained in:
parent
b6f6366e2a
commit
8202be48ab
3 changed files with 15 additions and 1 deletions
13
modules/servers/general/user.nix
Normal file
13
modules/servers/general/user.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
users.users.crony = {
|
||||
password = "whatever i will change it right away";
|
||||
isNormalUser = true;
|
||||
description = "crony";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBJLduAXHWJiglmfRfkBGKffzVWkJP6porxIzw6+Zz3W crony@cronyakatsuki.xyz"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue