summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services
diff options
context:
space:
mode:
authormatthewcroughan <matt@croughan.sh>2024-06-25 13:31:27 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2024-06-27 11:51:28 +0200
commit973108d3ed65520c19c7b4d96897d61af2c658e1 (patch)
tree02896f6edeee10be791726647fc32b2869609f62 /nixos/modules/services
parent65d005b5bf3dc8ab613f67d0f071f8dfd5714442 (diff)
nixos/scion: use recursiveUpdate instead of //
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/scion/scion-control.nix2
-rw-r--r--nixos/modules/services/networking/scion/scion-daemon.nix2
-rw-r--r--nixos/modules/services/networking/scion/scion-dispatcher.nix2
-rw-r--r--nixos/modules/services/networking/scion/scion-router.nix2
4 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/scion/scion-control.nix b/nixos/modules/services/networking/scion/scion-control.nix
index c3a22039aa52..b86f1ef26b35 100644
--- a/nixos/modules/services/networking/scion/scion-control.nix
+++ b/nixos/modules/services/networking/scion/scion-control.nix
@@ -24,7 +24,7 @@ let
level = "info";
};
};
- configFile = toml.generate "scion-control.toml" (defaultConfig // cfg.settings);
+ configFile = toml.generate "scion-control.toml" (recursiveUpdate defaultConfig cfg.settings);
in
{
options.services.scion.scion-control = {
diff --git a/nixos/modules/services/networking/scion/scion-daemon.nix b/nixos/modules/services/networking/scion/scion-daemon.nix
index 53b56841c392..a9c0c80f101f 100644
--- a/nixos/modules/services/networking/scion/scion-daemon.nix
+++ b/nixos/modules/services/networking/scion/scion-daemon.nix
@@ -21,7 +21,7 @@ let
level = "info";
};
};
- configFile = toml.generate "scion-daemon.toml" (defaultConfig // cfg.settings);
+ configFile = toml.generate "scion-daemon.toml" (recursiveUpdate defaultConfig cfg.settings);
in
{
options.services.scion.scion-daemon = {
diff --git a/nixos/modules/services/networking/scion/scion-dispatcher.nix b/nixos/modules/services/networking/scion/scion-dispatcher.nix
index 05d1fd0782af..9118ebefa18f 100644
--- a/nixos/modules/services/networking/scion/scion-dispatcher.nix
+++ b/nixos/modules/services/networking/scion/scion-dispatcher.nix
@@ -15,7 +15,7 @@ let
level = "info";
};
};
- configFile = toml.generate "scion-dispatcher.toml" (defaultConfig // cfg.settings);
+ configFile = toml.generate "scion-dispatcher.toml" (recursiveUpdate defaultConfig cfg.settings);
in
{
options.services.scion.scion-dispatcher = {
diff --git a/nixos/modules/services/networking/scion/scion-router.nix b/nixos/modules/services/networking/scion/scion-router.nix
index 488dfd12b3a5..3579005a429e 100644
--- a/nixos/modules/services/networking/scion/scion-router.nix
+++ b/nixos/modules/services/networking/scion/scion-router.nix
@@ -11,7 +11,7 @@ let
config_dir = "/etc/scion";
};
};
- configFile = toml.generate "scion-router.toml" (defaultConfig // cfg.settings);
+ configFile = toml.generate "scion-router.toml" (recursiveUpdate defaultConfig cfg.settings);
in
{
options.services.scion.scion-router = {