Cleanup and fixed
This commit is contained in:
@@ -5,7 +5,7 @@ let
|
||||
allowedUsernames = map (u: u.username) config.syscfg.users;
|
||||
activeUsers = lib.filterAttrs (name: _: lib.elem name allowedUsernames) groupedUsers;
|
||||
in {
|
||||
config = lib.mkIf (config.syscfg.server.nftables.enable) {
|
||||
config = lib.mkIf (config.syscfg.server ? nftables.enable) {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 422 ];
|
||||
|
||||
Reference in New Issue
Block a user