fix: resolve duplication of ip address
This commit is contained in:
parent
d2b4eb483f
commit
df1fe57f72
1 changed files with 6 additions and 3 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
{ config, ... }: {
|
{ config, ... }:
|
||||||
|
let
|
||||||
|
address = "10.0.10.2";
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
@ -9,14 +12,14 @@
|
||||||
|
|
||||||
networking.interfaces.ens19 = {
|
networking.interfaces.ens19 = {
|
||||||
ipv4.addresses = [{
|
ipv4.addresses = [{
|
||||||
address = "10.0.10.2";
|
address = address;
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.voip = {
|
services.voip = {
|
||||||
enable = true;
|
enable = true;
|
||||||
serverAddress = "10.0.10.2";
|
serverAddress = address;
|
||||||
ntpServer = "10.0.10.1";
|
ntpServer = "10.0.10.1";
|
||||||
|
|
||||||
# directoryName = "tel.baubs.net"; # shown in phone directory title and HTML page header
|
# directoryName = "tel.baubs.net"; # shown in phone directory title and HTML page header
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue