added groups
This commit is contained in:
@@ -64,7 +64,9 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Add username to groups "wheel" and "video" - more may be added here later
|
# Add username to groups "wheel" and "video" - more may be added here later
|
||||||
users.users = {
|
users = {
|
||||||
|
groups.hazel = {};
|
||||||
|
users = {
|
||||||
${userName} = {
|
${userName} = {
|
||||||
extraGroups = [ "wheel" "network" ];
|
extraGroups = [ "wheel" "network" ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
@@ -83,6 +85,7 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user