HomeVPN: Add feature to automatically enable tailscale and set custom DNS nameserver

This commit is contained in:
Weckyy702 committed 2026-04-03 11:34:29 +02:00
1 parent 5d4e3982ee
commit fc58b0ad29
3 files changed
+22 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
{ self, ... }: {
flake.modules.nixos.home-vpn = {
imports = with self.modules.nixos; [
tailscale
resolved
];
services.resolved.extraConfig = ''
[Resolve]
DNS=10.10.0.1
Domains=~veltnet
'';
};
}