Cleanup and fixed

This commit is contained in:
soraefir
2026-05-03 15:34:10 +02:00
parent c8cb980c15
commit e9eb4d9506
7 changed files with 23 additions and 37 deletions

View File

@@ -11,7 +11,7 @@
gamemode
#gamescope
#mangohud
#prismlauncher
prismlauncher
openttd-jgrpp
#bottles
lutris

View File

@@ -1,7 +1,7 @@
{ config, lib, ... }:{
config = lib.mkIf (config.syscfg.server.nftables.enable) {
config = lib.mkIf (config.syscfg.server ? nftables.enable) {
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;

View File

@@ -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 ];