Commit daa1f7482b2f
Changed files (5)
systems
systems/aion/extra.nix
@@ -409,10 +409,10 @@ in
# Override default settings
incomplete-dir-enabled = true;
rpc-bind-address = "0.0.0.0"; # Bind to all interfaces
- rpc-host-whitelist = "localhost,tm.sbr.pm,transmission-music.sbr.pm,aion.home,aion.vpn,aion.sbr.pm,192.168.1.51,10.100.0.51";
+ rpc-host-whitelist = "localhost,tm.sbr.pm,transmission-music.sbr.pm,aion.home,aion.vpn,aion.sbr.pm,192.168.10.232,10.100.0.49";
rpc-host-whitelist-enabled = true;
rpc-whitelist-enabled = true;
- rpc-whitelist = "127.0.0.1,192.168.1.*,10.100.0.*"; # Allow local network access
+ rpc-whitelist = "127.0.0.1,192.168.1.*,192.168.10.*,10.100.0.*"; # Allow local network access
rpc-username = "transmission";
rpc-password = "transmission";
download-queue-enabled = true;
@@ -445,8 +445,8 @@ in
mountdPort = 4002;
statdPort = 4000;
exports = ''
- /neo/music 192.168.1.0/24(rw,fsid=0,no_subtree_check) 10.100.0.0/24(rw,fsid=0,no_subtree_check)
- /neo/audiobooks 192.168.1.0/24(rw,fsid=1,no_subtree_check) 10.100.0.0/24(rw,fsid=1,no_subtree_check)
+ /neo/music 192.168.1.0/24(rw,fsid=0,no_subtree_check) 192.168.10.0/24(rw,fsid=0,no_subtree_check) 10.100.0.0/24(rw,fsid=0,no_subtree_check)
+ /neo/audiobooks 192.168.1.0/24(rw,fsid=1,no_subtree_check) 192.168.10.0/24(rw,fsid=1,no_subtree_check) 10.100.0.0/24(rw,fsid=1,no_subtree_check)
'';
};
};
systems/common/fedora-work/gen-configs.nix
@@ -50,7 +50,7 @@ let
'';
sshKnownHosts = pkgs.writeText "ssh-known-hosts" ''
- nagoya.home,nagoya.vpn,nagoya.sbr.pm,192.168.1.80,10.100.0.80 ${nagoya.ssh.hostKey}
+ nagoya.home,nagoya.vpn,nagoya.sbr.pm,192.168.10.229,10.100.0.80 ${nagoya.ssh.hostKey}
'';
nmDispatcher = pkgs.writeScript "99-wireguard-route" ''
systems/common/services/dns/home.nix
@@ -73,9 +73,9 @@ in
ocp4 = {
subdomains = {
# Point to aomi (host) which will forward to the VM
- api.A = [ "192.168.1.23" ];
- api-int.A = [ "192.168.1.23" ];
- apps.subdomains."*".A = [ "192.168.1.23" ];
+ api.A = [ "192.168.10.235" ];
+ api-int.A = [ "192.168.10.235" ];
+ apps.subdomains."*".A = [ "192.168.10.235" ];
# Direct VM access for internal use
master-sno.A = [ "192.168.100.7" ];
};
systems/rhea/extra.nix
@@ -470,16 +470,16 @@ in
mountdPort = 4002;
statdPort = 4000;
exports = ''
- /neo 192.168.1.0/24(rw,fsid=0,no_subtree_check) 10.100.0.0/24(rw,fsid=0,no_subtree_check)
- /neo/backup 192.168.1.0/24(rw,fsid=2,no_subtree_check) 10.100.0.0/24(rw,fsid=2,no_subtree_check)
- /neo/downloads 192.168.1.0/24(rw,fsid=4,no_subtree_check) 10.100.0.0/24(rw,fsid=4,no_subtree_check)
- /neo/pictures 192.168.1.0/24(rw,fsid=7,no_subtree_check) 10.100.0.0/24(rw,fsid=7,no_subtree_check)
- /neo/videos 192.168.1.0/24(rw,fsid=8,no_subtree_check) 10.100.0.0/24(rw,fsid=8,no_subtree_check)
- /zion 192.168.1.0/24(rw,fsid=10,no_subtree_check) 10.100.0.0/24(rw,fsid=10,no_subtree_check)
- /zion/audiobooks 192.168.1.0/24(ro,fsid=11,no_subtree_check) 10.100.0.0/24(ro,fsid=11,no_subtree_check)
- /zion/documents 192.168.1.0/24(rw,fsid=12,no_subtree_check) 10.100.0.0/24(rw,fsid=12,no_subtree_check)
- /zion/ebooks 192.168.1.0/24(rw,fsid=13,no_subtree_check) 10.100.0.0/24(rw,fsid=13,no_subtree_check)
- /zion/music 192.168.1.0/24(ro,fsid=14,no_subtree_check) 10.100.0.0/24(ro,fsid=14,no_subtree_check)
+ /neo 192.168.1.0/24(rw,fsid=0,no_subtree_check) 192.168.10.0/24(rw,fsid=0,no_subtree_check) 10.100.0.0/24(rw,fsid=0,no_subtree_check)
+ /neo/backup 192.168.1.0/24(rw,fsid=2,no_subtree_check) 192.168.10.0/24(rw,fsid=2,no_subtree_check) 10.100.0.0/24(rw,fsid=2,no_subtree_check)
+ /neo/downloads 192.168.1.0/24(rw,fsid=4,no_subtree_check) 192.168.10.0/24(rw,fsid=4,no_subtree_check) 10.100.0.0/24(rw,fsid=4,no_subtree_check)
+ /neo/pictures 192.168.1.0/24(rw,fsid=7,no_subtree_check) 192.168.10.0/24(rw,fsid=7,no_subtree_check) 10.100.0.0/24(rw,fsid=7,no_subtree_check)
+ /neo/videos 192.168.1.0/24(rw,fsid=8,no_subtree_check) 192.168.10.0/24(rw,fsid=8,no_subtree_check) 10.100.0.0/24(rw,fsid=8,no_subtree_check)
+ /zion 192.168.1.0/24(rw,fsid=10,no_subtree_check) 192.168.10.0/24(rw,fsid=10,no_subtree_check) 10.100.0.0/24(rw,fsid=10,no_subtree_check)
+ /zion/audiobooks 192.168.1.0/24(ro,fsid=11,no_subtree_check) 192.168.10.0/24(ro,fsid=11,no_subtree_check) 10.100.0.0/24(ro,fsid=11,no_subtree_check)
+ /zion/documents 192.168.1.0/24(rw,fsid=12,no_subtree_check) 192.168.10.0/24(rw,fsid=12,no_subtree_check) 10.100.0.0/24(rw,fsid=12,no_subtree_check)
+ /zion/ebooks 192.168.1.0/24(rw,fsid=13,no_subtree_check) 192.168.10.0/24(rw,fsid=13,no_subtree_check) 10.100.0.0/24(rw,fsid=13,no_subtree_check)
+ /zion/music 192.168.1.0/24(ro,fsid=14,no_subtree_check) 192.168.10.0/24(ro,fsid=14,no_subtree_check) 10.100.0.0/24(ro,fsid=14,no_subtree_check)
'';
};
immich = serviceDefaults // {
@@ -664,10 +664,10 @@ in
# Override default settings
incomplete-dir-enabled = true;
rpc-bind-address = "0.0.0.0"; # Bind to own IP
- rpc-host-whitelist = "localhost,t.sbr.pm,transmission.sbr.pm,rhea.home,rhea.vpn,rhea.sbr.pm,192.168.1.50,10.100.0.50";
+ rpc-host-whitelist = "localhost,t.sbr.pm,transmission.sbr.pm,rhea.home,rhea.vpn,rhea.sbr.pm,192.168.10.231,10.100.0.50";
rpc-host-whitelist-enabled = true;
rpc-whitelist-enabled = true;
- rpc-whitelist = "127.0.0.1,192.168.1.*,10.100.0.*"; # Whitelist your remote machine (10.0.0.1 in this example)
+ rpc-whitelist = "127.0.0.1,192.168.1.*,192.168.10.*,10.100.0.*"; # Whitelist your remote machine (10.0.0.1 in this example)
rpc-username = "transmission";
rpc-password = "transmission";
download-queue-enabled = true;
globals.nix
@@ -191,6 +191,7 @@ _: {
dns = {
cacheNetworks = [
"192.168.1.0/24"
+ "192.168.10.0/24"
"10.100.0.0/24"
];
};
@@ -251,7 +252,7 @@ _: {
machines = {
athena = {
net = {
- ips = [ "192.168.1.183" ];
+ ips = [ "192.168.10.233" ];
vpn = {
pubkey = "RWqH7RdIXg+YE9U1nlsNiOC7jH8eWjWQmikqBVDGSXU=";
ips = [ "10.100.0.83" ];
@@ -278,7 +279,7 @@ _: {
};
demeter = {
net = {
- ips = [ "192.168.1.182" ];
+ ips = [ "192.168.10.234" ];
vpn = {
pubkey = "/bBh4gvDty/AA2qIiHc7K0OHoOXWmj2SFFXdDq8nsUU=";
ips = [ "10.100.0.82" ];
@@ -303,7 +304,7 @@ _: {
};
nagoya = {
net = {
- ips = [ "192.168.1.80" ];
+ ips = [ "192.168.10.229" ];
vpn = {
pubkey = "NCj5pwShre/xyRCK800ybjso1zIYUZ08YvFA2qGzhAI=";
ips = [ "10.100.0.80" ];
@@ -402,7 +403,7 @@ _: {
aomi = {
user = "vdemeest";
net = {
- ips = [ "192.168.1.23" ];
+ ips = [ "192.168.10.235" ];
vpn = {
pubkey = "Pmu/0CjRaClmz+v25OV3SLd/V6Il8YLLavbtu8cYSGY=";
ips = [ "10.100.0.17" ];
@@ -521,7 +522,7 @@ _: {
};
rhea = {
net = {
- ips = [ "192.168.1.50" ];
+ ips = [ "192.168.10.231" ];
vpn = {
pubkey = "QBGdlPgtaLIh+WDLbuIWPL+Nr08mtfIqs6RwgVDAGjA=";
ips = [ "10.100.0.50" ];
@@ -559,7 +560,7 @@ _: {
};
aion = {
net = {
- ips = [ "192.168.1.49" ];
+ ips = [ "192.168.10.232" ];
vpn = {
pubkey = "Z145TsRbQTASEeAXsGkQR/PGvdI5rhHAXA5wllCKMGI=";
ips = [ "10.100.0.49" ];