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 # Provide the Valkey config file at /etc/valkey/6379.conf
environment.etc = lib.mkOverride 0 (lib.attrsets.union environment.etc { environment.etc."valkey/6379.conf" = {
"valkey/6379.conf" = { text = ''
text = '' # Valkey configuration managed by NixOS
# Valkey configuration managed by NixOS daemonize yes
daemonize yes pidfile /var/run/valkey_6379.pid
pidfile /var/run/valkey_6379.pid port 6379
port 6379 loglevel notice
loglevel notice logfile /var/log/valkey_6379.log
logfile /var/log/valkey_6379.log dir /var/valkey/6379
dir /var/valkey/6379 '';
''; };
};
});
# Create data and log directories using systemd tmpfiles rules so paths exist on boot # Create data and log directories using systemd tmpfiles rules so paths exist on boot
systemd.tmpfiles.rules = lib.mkForce [ systemd.tmpfiles.rules = lib.mkForce [