From b5b60df98897b5107c4f2b6e2e9c56c4b47bea10 Mon Sep 17 00:00:00 2001 From: yaroslav Date: Sat, 11 Oct 2025 15:17:14 +0300 Subject: [PATCH] commit before update --- hosts/Aphelion/Aphelion_misc.nix | 9 +++++++-- hosts/generic/configuration_generic.nix | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hosts/Aphelion/Aphelion_misc.nix b/hosts/Aphelion/Aphelion_misc.nix index 2f16739..0a3b028 100644 --- a/hosts/Aphelion/Aphelion_misc.nix +++ b/hosts/Aphelion/Aphelion_misc.nix @@ -30,15 +30,20 @@ createHome = false; group = "nixremote"; - openssh.authorizedKeys = [ + openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIt6Ts4SNWXv2hObOOKyyxXr/6iZBRZXEwE0mtEpCa8X root@Ratchet" ]; }; - users.groups.remotebuild = {}; + users.groups.nixremote = {}; services.nix-serve.secretKeyFile = "/home/store_secret.pem"; nix.settings.trusted-users = [ "nixremote" ]; + +# services.xrdp.enable = true; +# services.xrdp.defaultWindowManager = "startplasma-x11"; +# services.xrdp.openFirewall = true; + } diff --git a/hosts/generic/configuration_generic.nix b/hosts/generic/configuration_generic.nix index d5aa623..0d0013d 100644 --- a/hosts/generic/configuration_generic.nix +++ b/hosts/generic/configuration_generic.nix @@ -31,8 +31,8 @@ # networking networking.networkmanager.enable = true; - networking.firewall.allowedTCPPorts = [ 22 3240 2049 25565 554 80 ]; - networking.firewall.allowedUDPPorts = [ 38401 25565 554 80]; + networking.firewall.allowedTCPPorts = [ 22 3240 2049 25565 554 80 27040 ]; + networking.firewall.allowedUDPPorts = [ 38401 25565 554 80 27031 27032 27033 27034 27035 27036 ]; networking.nftables.enable = true; networking.hosts = { "192.168.1.116" = [ "Clank" ];