mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-14 10:48:56 +02:00
Etc nix language derps
This commit is contained in:
parent
4da074ab59
commit
504a931ae2
1 changed files with 11 additions and 13 deletions
|
|
@ -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 [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue