created nixremote user

This commit is contained in:
Danilo Reyes 2023-09-24 20:10:54 -06:00
parent c3d0d5a1e9
commit 33051c9b17

View File

@ -338,19 +338,32 @@ split among my multiple systems, the rest of the groups are self explanatory.
#+begin_src nix #+begin_src nix
users = { users = {
groups = { piracy.gid = 985; }; groups = {
users.jawz = { piracy.gid = 985;
isNormalUser = true; nixremote.gid = 555;
extraGroups = [ "wheel" "networkmanager" "scanner"
"lp" "piracy" "kavita" "video" "docker"
];
initialPassword = "password";
openssh = {
authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZ/TtwLIR/JNp1Sr3TLV/eQK52n2htF8sg/RYfz60z3 jawz@server"
];
}; };
users = {
nixremote = {
isNormalUser = true;
createHome = true;
group = "nixremote";
home = "/var/nixremote/";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6HsajaTL+nTJtSIu00M5WJwgt/7fyU59gBr2R7tbnv root@server"
];
};
jawz = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "scanner"
"lp" "piracy" "kavita" "video" "docker"
];
initialPassword = "password";
openssh = {
authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZ/TtwLIR/JNp1Sr3TLV/eQK52n2htF8sg/RYfz60z3 jawz@server"
];
};
#+end_src #+end_src
* USER PACKAGES * USER PACKAGES
@ -689,7 +702,7 @@ from the unstable channel.
** CLOSE USER PACKAGES ** CLOSE USER PACKAGES
#+begin_src nix #+begin_src nix
]); }; };# <--- end of package list ]); }; }; };# <--- end of package list
#+end_src #+end_src
* HOME-MANAGER * HOME-MANAGER