ma: move home network from 192.168.1.0/24 to 192.168.111.0/24
This commit is contained in:
parent
277bafb40b
commit
bba59bcf11
@ -1,6 +1,6 @@
|
|||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
internal-ip = "192.168.1.11";
|
internal-ip = "192.168.111.11";
|
||||||
port = 4040;
|
port = 4040;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
##
|
##
|
||||||
let
|
let
|
||||||
prefix = (import ./lib).prefix;
|
prefix = (import ./lib).prefix;
|
||||||
firetv_stick = "192.168.1.24";
|
firetv_stick = "192.168.111.24";
|
||||||
hassdir = "/var/lib/hass";
|
hassdir = "/var/lib/hass";
|
||||||
unstable = import <nixpkgs-unstable> {};
|
unstable = import <nixpkgs-unstable> {};
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
services.home-assistant.config.device_tracker =
|
services.home-assistant.config.device_tracker =
|
||||||
[
|
[
|
||||||
{ platform = "luci";
|
{ platform = "luci";
|
||||||
host = "192.168.1.5";
|
host = "192.168.111.5";
|
||||||
username = "root";
|
username = "root";
|
||||||
password = import <secrets/hass/router.nix>;
|
password = import <secrets/hass/router.nix>;
|
||||||
interval_seconds = 30; # instead of 12seconds
|
interval_seconds = 30; # instead of 12seconds
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
let
|
let
|
||||||
internal-ip = "192.168.1.11";
|
internal-ip = "192.168.111.11";
|
||||||
in {
|
in {
|
||||||
services.nginx.recommendedProxySettings = true;
|
services.nginx.recommendedProxySettings = true;
|
||||||
services.nginx.virtualHosts."hass" = {
|
services.nginx.virtualHosts."hass" = {
|
||||||
|
@ -5,7 +5,7 @@ let
|
|||||||
port = "2348";
|
port = "2348";
|
||||||
dl-dir = "/media/cryptX/youtube/music";
|
dl-dir = "/media/cryptX/youtube/music";
|
||||||
uid = 20421;
|
uid = 20421;
|
||||||
internal-ip = "192.168.1.11";
|
internal-ip = "192.168.111.11";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
@ -18,7 +18,7 @@ let
|
|||||||
photodir = "/media/cryptX/photos";
|
photodir = "/media/cryptX/photos";
|
||||||
statedir = "/media/cryptX/lib/photoprism/appsrv";
|
statedir = "/media/cryptX/lib/photoprism/appsrv";
|
||||||
db-dir = "/media/cryptX/lib/photoprism/mysql";
|
db-dir = "/media/cryptX/lib/photoprism/mysql";
|
||||||
internal-ip = "192.168.1.11";
|
internal-ip = "192.168.111.11";
|
||||||
sec = import <secrets/photoprism.nix>;
|
sec = import <secrets/photoprism.nix>;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
dataDir = "/var/lib/zigbee2mqtt";
|
dataDir = "/var/lib/zigbee2mqtt";
|
||||||
sec = import <secrets/zigbee2mqtt.nix>;
|
sec = import <secrets/zigbee2mqtt.nix>;
|
||||||
internal-ip = "192.168.1.11";
|
internal-ip = "192.168.111.11";
|
||||||
webport = 8521;
|
webport = 8521;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@ in {
|
|||||||
netConf =
|
netConf =
|
||||||
# drucker.lan SCX-3205W
|
# drucker.lan SCX-3205W
|
||||||
''
|
''
|
||||||
192.168.1.16''
|
192.168.111.16''
|
||||||
# uhrenkind.shack magicolor 1690mf
|
# uhrenkind.shack magicolor 1690mf
|
||||||
+ ''
|
+ ''
|
||||||
10.42.20.30'';
|
10.42.20.30'';
|
||||||
|
@ -4,7 +4,7 @@ with import <stockholm/lib>;
|
|||||||
let
|
let
|
||||||
hostname = config.krebs.build.host.name;
|
hostname = config.krebs.build.host.name;
|
||||||
# TODO local-ip from the nets config
|
# 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;
|
# local-ip = config.krebs.build.host.nets.retiolum.ip4.addr;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
let
|
let
|
||||||
port = "14002";
|
port = "14002";
|
||||||
internal-ip = "192.168.1.11";
|
internal-ip = "192.168.111.11";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
networking.firewall.allowedTCPPorts = [ 28967 ];
|
networking.firewall.allowedTCPPorts = [ 28967 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user