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 = [
|
||||
./hardware.nix
|
||||
./disko.nix
|
||||
|
|
@ -9,14 +12,14 @@
|
|||
|
||||
networking.interfaces.ens19 = {
|
||||
ipv4.addresses = [{
|
||||
address = "10.0.10.2";
|
||||
address = address;
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
|
||||
services.voip = {
|
||||
enable = true;
|
||||
serverAddress = "10.0.10.2";
|
||||
serverAddress = address;
|
||||
ntpServer = "10.0.10.1";
|
||||
|
||||
# directoryName = "tel.baubs.net"; # shown in phone directory title and HTML page header
|
||||
|
|
|
|||
Loading…
Reference in a new issue