Etc nix language derps

This commit is contained in:
Root User 2026-03-21 12:26:48 +01:00
parent 4da074ab59
commit 504a931ae2
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -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 [