rpi4: put all authelia instances in same group
This commit is contained in:
parent
28cc213ff2
commit
58ba628684
@ -24,19 +24,19 @@
|
||||
|
||||
age.secrets.authelia-users = {
|
||||
file = ../../secrets/authelia-users.age;
|
||||
group = "authelia-main";
|
||||
group = "authelia-shared";
|
||||
mode = "0750";
|
||||
};
|
||||
|
||||
age.secrets.authelia-jwt = {
|
||||
file = ../../secrets/authelia-jwt.age;
|
||||
group = "authelia-main";
|
||||
group = "authelia-shared";
|
||||
mode = "0750";
|
||||
};
|
||||
|
||||
age.secrets.authelia-storage = {
|
||||
file = ../../secrets/authelia-storage.age;
|
||||
group = "authelia-main";
|
||||
group = "authelia-shared";
|
||||
mode = "0750";
|
||||
};
|
||||
|
||||
@ -81,8 +81,10 @@
|
||||
8123
|
||||
];
|
||||
|
||||
users.groups.authelia-shared = { };
|
||||
services.authelia.instances = lib.mapAttrs (inst: opts: {
|
||||
enable = true;
|
||||
group = "authelia-shared";
|
||||
secrets = {
|
||||
jwtSecretFile = config.age.secrets.authelia-jwt.path;
|
||||
storageEncryptionKeyFile = config.age.secrets.authelia-storage.path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user