ma: move home network from 192.168.1.0/24 to 192.168.111.0/24

This commit is contained in:
makefu 2021-04-08 21:39:39 +02:00
parent 277bafb40b
commit bba59bcf11
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
10 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{ config, ... }:
let
internal-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
port = 4040;
in
{

View File

@ -5,7 +5,7 @@
##
let
prefix = (import ./lib).prefix;
firetv_stick = "192.168.1.24";
firetv_stick = "192.168.111.24";
hassdir = "/var/lib/hass";
unstable = import <nixpkgs-unstable> {};

View File

@ -2,7 +2,7 @@
services.home-assistant.config.device_tracker =
[
{ platform = "luci";
host = "192.168.1.5";
host = "192.168.111.5";
username = "root";
password = import <secrets/hass/router.nix>;
interval_seconds = 30; # instead of 12seconds

View File

@ -1,5 +1,5 @@
let
internal-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
in {
services.nginx.recommendedProxySettings = true;
services.nginx.virtualHosts."hass" = {

View File

@ -5,7 +5,7 @@ let
port = "2348";
dl-dir = "/media/cryptX/youtube/music";
uid = 20421;
internal-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
in
{
systemd.tmpfiles.rules = [

View File

@ -18,7 +18,7 @@ let
photodir = "/media/cryptX/photos";
statedir = "/media/cryptX/lib/photoprism/appsrv";
db-dir = "/media/cryptX/lib/photoprism/mysql";
internal-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
sec = import <secrets/photoprism.nix>;
in
{

View File

@ -3,7 +3,7 @@
let
dataDir = "/var/lib/zigbee2mqtt";
sec = import <secrets/zigbee2mqtt.nix>;
internal-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
webport = 8521;
in
{

View File

@ -24,7 +24,7 @@ in {
netConf =
# drucker.lan SCX-3205W
''
192.168.1.16''
192.168.111.16''
# uhrenkind.shack magicolor 1690mf
+ ''
10.42.20.30'';

View File

@ -4,7 +4,7 @@ with import <stockholm/lib>;
let
hostname = config.krebs.build.host.name;
# TODO local-ip from the nets config
local-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
# local-ip = config.krebs.build.host.nets.retiolum.ip4.addr;
in {

View File

@ -1,7 +1,7 @@
{ lib, ... }:
let
port = "14002";
internal-ip = "192.168.1.11";
internal-ip = "192.168.111.11";
in
{
networking.firewall.allowedTCPPorts = [ 28967 ];