Add tailscale & systemd-resolved
Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
parent
15e81ff20d
commit
97c3908295
2 changed files with 23 additions and 5 deletions
|
@ -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";
|
||||
|
|
7
home.nix
7
home.nix
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue