zerotier is now '.vpn'
This commit is contained in:
parent
f3876d7ef7
commit
9d9d0196e3
4 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@ in
|
||||||
restic.backups.home-to-brix = {
|
restic.backups.home-to-brix = {
|
||||||
passwordFile = "/etc/nixos/secrets/restic-password-brix";
|
passwordFile = "/etc/nixos/secrets/restic-password-brix";
|
||||||
paths = [ "/home" ];
|
paths = [ "/home" ];
|
||||||
repository = "rest:http://brix.local:8000/";
|
repository = "rest:http://brix.vpn:8000/";
|
||||||
timerConfig = { OnCalendar = "hourly"; };
|
timerConfig = { OnCalendar = "hourly"; };
|
||||||
extraBackupArgs = extraArgs;
|
extraBackupArgs = extraArgs;
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,16 +37,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.printers.ensurePrinters = [{
|
hardware.printers.ensurePrinters = [{
|
||||||
description = "Epson XP-540";
|
description = "Epson XP-540 via brix";
|
||||||
name = "epson_xp540";
|
name = "epson_xp540_via_brix";
|
||||||
deviceUri = "ipp://epsonxp540.lan/ipp/print";
|
deviceUri = "ipp://brix.local/ipp/print";
|
||||||
model = "epson-inkjet-printer-escpr/Epson-XP-540_Series-epson-escpr-en.ppd";
|
model = "epson-inkjet-printer-escpr/Epson-XP-540_Series-epson-escpr-en.ppd";
|
||||||
ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; };
|
ppdOptions = { PageSize = "A4"; Duplex = "DuplexNoTumble"; };
|
||||||
}];
|
}];
|
||||||
|
|
||||||
hardware.sane = {
|
hardware.sane = {
|
||||||
enable = true;
|
enable = true;
|
||||||
netConf = "epsonxp540.lan";
|
netConf = "brix.local";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.saned.enable = true;
|
services.saned.enable = true;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
nix.buildMachines = [
|
nix.buildMachines = [
|
||||||
{
|
{
|
||||||
hostName = "brix.local";
|
hostName = "brix.vpn";
|
||||||
sshUser = "nix-builder";
|
sshUser = "nix-builder";
|
||||||
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
mandatoryFeatures = [ ];
|
mandatoryFeatures = [ ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostName = "vultr1.local";
|
hostName = "vultr1.vpn";
|
||||||
sshUser = "nix-builder";
|
sshUser = "nix-builder";
|
||||||
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"172.23.153.159" = [ "brix.local" ];
|
"172.23.153.159" = [ "brix.vpn" ];
|
||||||
"172.23.28.139" = [ "vultr1.local" ];
|
"172.23.28.139" = [ "vultr1.vpn" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue