WIP networking stuff

This commit is contained in:
2024-11-17 18:45:55 +00:00
parent 6d741872a1
commit 54b277bed2
2 changed files with 29 additions and 9 deletions

13
users.nix Normal file
View 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
];
};
}