mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-08 09:14:11 +02:00
group owned postgres password
This commit is contained in:
parent
756e8e8f7e
commit
9a3bf8a568
|
@ -2,12 +2,20 @@
|
|||
{
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets = {
|
||||
wg-seckey = { };
|
||||
postgres_password_hash_salt = {
|
||||
owner = config.users.users.clicky-bunty-server.name;
|
||||
};
|
||||
postgres_password = {
|
||||
group = config.users.groups.postgres-dvbdump.name;
|
||||
owner = config.users.users.clicky-bunty-server.name;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user