zerotier is now '.vpn'

This commit is contained in:
Cyryl Płotnicki 2020-12-22 14:35:08 +00:00
parent f3876d7ef7
commit 9d9d0196e3
4 changed files with 9 additions and 9 deletions

View file

@ -8,7 +8,7 @@ in
restic.backups.home-to-brix = {
passwordFile = "/etc/nixos/secrets/restic-password-brix";
paths = [ "/home" ];
repository = "rest:http://brix.local:8000/";
repository = "rest:http://brix.vpn:8000/";
timerConfig = { OnCalendar = "hourly"; };
extraBackupArgs = extraArgs;
};

View file

@ -37,16 +37,16 @@
};
hardware.printers.ensurePrinters = [{
description = "Epson XP-540";
name = "epson_xp540";
deviceUri = "ipp://epsonxp540.lan/ipp/print";
description = "Epson XP-540 via brix";
name = "epson_xp540_via_brix";
deviceUri = "ipp://brix.local/ipp/print";
model = "epson-inkjet-printer-escpr/Epson-XP-540_Series-epson-escpr-en.ppd";
ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; };
}];
hardware.sane = {
enable = true;
netConf = "epsonxp540.lan";
netConf = "brix.local";
};
services.saned.enable = true;

View file

@ -6,7 +6,7 @@
nix.buildMachines = [
{
hostName = "brix.local";
hostName = "brix.vpn";
sshUser = "nix-builder";
sshKey = "/home/cyryl/.ssh/id_ed25519";
system = "x86_64-linux";
@ -16,7 +16,7 @@
mandatoryFeatures = [ ];
}
{
hostName = "vultr1.local";
hostName = "vultr1.vpn";
sshUser = "nix-builder";
sshKey = "/home/cyryl/.ssh/id_ed25519";
system = "x86_64-linux";

View file

@ -6,8 +6,8 @@
};
networking.hosts = {
"172.23.153.159" = [ "brix.local" ];
"172.23.28.139" = [ "vultr1.local" ];
"172.23.153.159" = [ "brix.vpn" ];
"172.23.28.139" = [ "vultr1.vpn" ];
};
}