From 5b26eb6d90cc27d8463a94a06de54f6c44c16401 Mon Sep 17 00:00:00 2001 From: harry123 Date: Sun, 8 Dec 2024 10:12:10 +0100 Subject: [PATCH] more dionysos features --- hosts/dionysos/configuration.nix | 4 ++-- hosts/dionysos/features/znc-bounce.nix | 5 +---- hosts/dionysos/features/znc-infos.nix | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/hosts/dionysos/configuration.nix b/hosts/dionysos/configuration.nix index 6c17d64..6bba19c 100644 --- a/hosts/dionysos/configuration.nix +++ b/hosts/dionysos/configuration.nix @@ -7,6 +7,7 @@ let username = "harry123"; in { + imports = [../../features/server/tailscale.nix]; environment.systemPackages = with pkgs; [ weechat tmux @@ -30,10 +31,9 @@ in users.users.${username}.initialHashedPassword = "$y$j9T$s4isXqWcg4N8TEPjmj0fD/$zog2cpUwstnvwDnQsFmH3br/WAeD2Uu/L7ePr00cKkA"; - environment.variables.EDITOR = "nvim"; - services.nginx = { + services.nginx = { enable = true; recommendedGzipSettings = true; recommendedOptimisation = true; diff --git a/hosts/dionysos/features/znc-bounce.nix b/hosts/dionysos/features/znc-bounce.nix index ac6f134..16bc53d 100644 --- a/hosts/dionysos/features/znc-bounce.nix +++ b/hosts/dionysos/features/znc-bounce.nix @@ -8,11 +8,8 @@ config = { Listener = { "Motd" = "welcome to hypervirtual's irc bouncer - using znc"; - "SSLProtocols" = "-SSLv2 -SSLv3 -TLSv1 +TLSv1.1 +TLSv1.2" + "SSLProtocols" = "-SSLv2 -SSLv3 -TLSv1 +TLSv1.1 +TLSv1.2"; }; - - ; }; - }; } diff --git a/hosts/dionysos/features/znc-infos.nix b/hosts/dionysos/features/znc-infos.nix index 2aac97e..f75cf4c 100644 --- a/hosts/dionysos/features/znc-infos.nix +++ b/hosts/dionysos/features/znc-infos.nix @@ -10,7 +10,7 @@ LoadModule = "simple_away"; Chan = { "#nixos" = {Detached = false;}; - } + }; }; koshkairc = { Server = "irc.koshka.love +6697";