s0mev1rtn0de-nix -> kyra + {hazel, lynn, ivy, mel}: rename + modularity
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
c1445349f0
commit
91d145fc9b
50 changed files with 377 additions and 278 deletions
5
kyra/users/users.nix
Normal file
5
kyra/users/users.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
};
|
||||
}
|
||||
23
kyra/users/users/alep0u.nix
Normal file
23
kyra/users/users/alep0u.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
_: {
|
||||
users = {
|
||||
users = {
|
||||
"alep0u" = {
|
||||
description = "alep0u";
|
||||
isNormalUser = true;
|
||||
password = "alep0u";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
|
||||
openssh = {
|
||||
authorizedKeys = {
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItDketCj5COoCvAPLhqOcBhWC1H50MApP2gDt/lkW7E alep0u@alep0u"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
23
kyra/users/users/hand7s.nix
Normal file
23
kyra/users/users/hand7s.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
_: {
|
||||
users = {
|
||||
users = {
|
||||
"hand7s" = {
|
||||
description = "hands";
|
||||
isNormalUser = true;
|
||||
hashedPassword = "$y$j9T$eHfq328GBp7Ga8xsbOTV/0$kcihv7zWLqSkj2jKAhI1pdbTSwvaf2RY5Rokm69XTL/";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
|
||||
openssh = {
|
||||
authorizedKeys = {
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDp2IIdR5jV1HyG4aiRX7SfTNrXDhCx5rTiFU40qkOKq litvinovb0@gmail.com"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
9
kyra/users/users/root.nix
Normal file
9
kyra/users/users/root.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
users = {
|
||||
users = {
|
||||
"root" = {
|
||||
shell = "${pkgs.util-linux}/bin/nologin";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue