remove dead code

This commit is contained in:
oxapentane - 2023-05-19 18:15:28 +02:00
parent 39e82d4f7f
commit 717f85e10c
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C
3 changed files with 0 additions and 88 deletions

View File

@ -1,40 +0,0 @@
{ config, ... }:
let
mac_addr = "00:de:5b:f9:e2:3d";
in
{
imports = [
../TLMS/default.nix
./secrets.nix
];
sops.defaultSopsFile = ../../secrets/watch-me-senpai/secrets.yaml;
deployment-TLMS.net = {
iface.uplink = {
name = "eth0";
mac = mac_addr;
matchOn = "mac";
useDHCP = false;
addr4 = "192.168.92.49/42";
dns = [ "8.8.8.8" "9.9.9.9" ];
routes = [
{
routeConfig = {
Gateway = "192.168.92.1";
GatewayOnLink = true;
Destination = "0.0.0.0/0";
};
}
];
};
wg = {
addr4 = "10.13.37.6";
prefix4 = 24;
privateKeyFile = config.sops.secrets.wg-seckey.path;
publicKey = "aNd+oXT3Im3cA0EqK+xL+MRjIx4l7qcXZk+Pe2vmRS8=";
};
};
deployment-TLMS.domain = "dvb.solutions";
}

View File

@ -1,9 +0,0 @@
{ config, ... }:
{
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.secrets = {
wg-seckey = {
owner = config.users.users.systemd-network.name;
};
};
}

View File

@ -1,39 +0,0 @@
{ config, ... }:
let
port = 51820;
in
{
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
networking.firewall.allowedUDPPorts = [ port ];
deployment-TLMS.net = {
/*
iface.uplink = {
name = "ens3";
mac = mac_addr;
matchOn = "mac";
useDHCP = false;
addr4 = "172.20.73.70/25";
dns = [ "172.20.73.8" "9.9.9.9" ];
routes = [
{
routeConfig = {
Gateway = "172.20.73.1";
GatewayOnLink = true;
Destination = "0.0.0.0/0";
};
}
];
};
*/
wg = {
addr4 = "10.13.37.6";
prefix4 = 24;
privateKeyFile = config.sops.secrets.wg-seckey.path;
publicKey = "aNd+oXT3Im3cA0EqK+xL+MRjIx4l7qcXZk+Pe2vmRS8=";
};
};
}