rm networking from common
This commit is contained in:
parent
7e6da073eb
commit
1eba3e269d
3 changed files with 1 additions and 26 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./networking.nix
|
|
||||||
./overlays.nix
|
./overlays.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
{ inputs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
inputs.servers.nixosModules.pki
|
|
||||||
];
|
|
||||||
|
|
||||||
services.resolved.enable = true;
|
|
||||||
|
|
||||||
networking.networkmanager.dns = "systemd-resolved";
|
|
||||||
networking.resolvconf.enable = false;
|
|
||||||
networking.dhcpcd.enable = false;
|
|
||||||
networking.search = [
|
|
||||||
"i.sid.ovh"
|
|
||||||
"sid.ovh"
|
|
||||||
];
|
|
||||||
networking.nameservers = [
|
|
||||||
"100.64.0.6"
|
|
||||||
"1.1.1.1"
|
|
||||||
"8.8.8.8"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.tailscale.useRoutingFeatures = "client";
|
|
||||||
}
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
loginServer = "https://hs.sid.ovh";
|
loginServer = "https://hs.sid.ovh";
|
||||||
authKeyFile = config.sops.secrets."tailscale/personal-key".path;
|
authKeyFile = config.sops.secrets."tailscale/personal-key".path;
|
||||||
enableSSH = true;
|
enableSSH = true;
|
||||||
acceptDNS = false; # use coredns
|
acceptDNS = true;
|
||||||
};
|
};
|
||||||
work = {
|
work = {
|
||||||
loginServer = "https://headscale.cryodev.xyz";
|
loginServer = "https://headscale.cryodev.xyz";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue