From 6345f70bd7ae82edbb67aee1a77cf4233b2941be Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 30 Oct 2023 18:49:13 +0100 Subject: [PATCH 1/3] Update .gitconfig --- .gitconfig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.gitconfig b/.gitconfig index 6a72e35..bf3344f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -27,8 +27,3 @@ path = .gitconfig-gitlabfh [core] editor = kate -[gui] - recentrepo = D:/Stuff/work/evolit/TIS2020 - -[credential "http://server.home:3000"] - provider = generic From f21ebfe681a2d6c168e6690a8805c495514334b1 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 30 Oct 2023 18:49:27 +0100 Subject: [PATCH 2/3] Update .gitconfig-gitea --- .gitconfig-gitea | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitconfig-gitea b/.gitconfig-gitea index 74afcc6..8d6b2cc 100644 --- a/.gitconfig-gitea +++ b/.gitconfig-gitea @@ -16,6 +16,3 @@ [user] name = Kopatz email = lukas.kopatz111@gmail.com - signingkey = 1702133BD8033AFE -[commit] - gpgsign = false \ No newline at end of file From 40f350f127920b200fb16f7d8b3f0b92cb5c8866 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:01:28 +0100 Subject: [PATCH 3/3] autostart wireguard and dns listen on wireguard interface --- server/modules/adguard.nix | 2 +- server/modules/wireguard.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/modules/adguard.nix b/server/modules/adguard.nix index 3d32860..83d7660 100644 --- a/server/modules/adguard.nix +++ b/server/modules/adguard.nix @@ -12,7 +12,7 @@ } ]; dns = { - bind_hosts = [ "127.0.0.1" "192.168.0.6" ]; + bind_hosts = [ "127.0.0.1" "192.168.0.6" "192.168.2.1" ]; port = 53; protection_enabled = true; filtering_enabled = true; diff --git a/server/modules/wireguard.nix b/server/modules/wireguard.nix index a813065..88caaf0 100644 --- a/server/modules/wireguard.nix +++ b/server/modules/wireguard.nix @@ -12,6 +12,7 @@ networking.wg-quick.interfaces = { wg0 = { + autostart = true; listenPort = 51820; address = [ "192.168.2.1/24"