From 504a931ae2514077e80653d7a25ad6605c3c4724 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 21 Mar 2026 12:26:48 +0100 Subject: [PATCH] Etc nix language derps --- .../modules/system/database.nix | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/nix-system-configs/modules/system/database.nix b/nix-system-configs/modules/system/database.nix index 2897cee..c6dd54e 100644 --- a/nix-system-configs/modules/system/database.nix +++ b/nix-system-configs/modules/system/database.nix @@ -134,19 +134,17 @@ in { }; # Provide the Valkey config file at /etc/valkey/6379.conf - environment.etc = lib.mkOverride 0 (lib.attrsets.union environment.etc { - "valkey/6379.conf" = { - text = '' - # Valkey configuration managed by NixOS - daemonize yes - pidfile /var/run/valkey_6379.pid - port 6379 - loglevel notice - logfile /var/log/valkey_6379.log - dir /var/valkey/6379 - ''; - }; - }); + environment.etc."valkey/6379.conf" = { + text = '' + # Valkey configuration managed by NixOS + daemonize yes + pidfile /var/run/valkey_6379.pid + port 6379 + loglevel notice + logfile /var/log/valkey_6379.log + dir /var/valkey/6379 + ''; + }; # Create data and log directories using systemd tmpfiles rules so paths exist on boot systemd.tmpfiles.rules = lib.mkForce [