Add tailscale & systemd-resolved

Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
Tristan D. 2023-09-15 03:04:36 +02:00
parent 15e81ff20d
commit 97c3908295
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY
2 changed files with 23 additions and 5 deletions

View file

@ -42,6 +42,22 @@
networking.hostName = "nixos-pulse";
networking.networkmanager.enable = true;
networking.nameservers = [
"45.90.28.0#921984.dns.nextdns.io"
"45.90.30.0#921984.dns.nextdns.io"
"2a07:a8c0::#921984.dns.nextdns.io"
"2a07:a8c1::#921984.dns.nextdns.io"
];
services.resolved = {
enable = true;
dnssec = "true";
domains = ["~."];
fallbackDns = ["1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one"];
extraConfig = ''
DNSOverTLS=yes
'';
};
time.timeZone = "Europe/Berlin";
@ -65,6 +81,11 @@
};
};
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
};
services.xserver = {
enable = true;
layout = "us";

View file

@ -1,8 +1,5 @@
{
pkgs,
...
}: {
fonts.packages = [ pkgs.emacs-all-the-icons-fonts ];
{pkgs, ...}: {
fonts.packages = [pkgs.emacs-all-the-icons-fonts];
users.users.tristand = {
isNormalUser = true;