WIP networking stuff
This commit is contained in:
13
users.nix
Normal file
13
users.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ ... }:
|
||||
{
|
||||
users.users.myuser = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel" # needed for sudo without password
|
||||
"docker" # needed for docker without sudo
|
||||
];
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
"/root/.ssh/authorized_keys" # should already have your public SSH key inside
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user