mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-11 02:34:07 +02:00
Grigory Shipunov
62b9aa6cbd
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
33 lines
844 B
Nix
33 lines
844 B
Nix
{ config, ... }:
|
|
{
|
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
|
|
users.groups = {
|
|
postgres-dvbdump = {
|
|
name = "postgres-dvbdump";
|
|
members = [ config.users.users.clicky-bunty-server.name config.users.users.data-accumulator.name ];
|
|
};
|
|
postgres-telegrams = {
|
|
name = "postgres-telegrams";
|
|
members = [ config.users.users.clicky-bunty-server.name config.users.users.data-accumulator.name ];
|
|
};
|
|
|
|
};
|
|
|
|
sops.secrets = {
|
|
wg-seckey = { };
|
|
postgres_password_hash_salt = {
|
|
owner = config.users.users.clicky-bunty-server.name;
|
|
};
|
|
postgres_password_dvbdump = {
|
|
group = config.users.groups.postgres-dvbdump.name;
|
|
mode = "0440";
|
|
};
|
|
postgres_password_telegrams = {
|
|
group = config.users.groups.postgres-dvbdump.name;
|
|
mode = "0440";
|
|
};
|
|
|
|
};
|
|
}
|