configure access

This commit is contained in:
zackartz 2024-05-05 21:34:58 -04:00
parent 168368e850
commit 2dcdd2fb79
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA

View file

@ -4,13 +4,35 @@
...
}: let
sec = config.age.secrets;
user = config.services.gitlab.user;
group = config.services.gitlab.group;
in {
age.secrets = {
gitlab_db.file = ../../../sec/gitlab_db.age;
gitlab_initpw.file = ../../../sec/gitlab_initpw.age;
gitlab_otp.file = ../../../sec/gitlab_otp.age;
gitlab_pw.file = ../../../sec/gitlab_pw.age;
gitlab_sec.file = ../../../sec/gitlab_sec.age;
gitlab_db = {
file = ../../../sec/gitlab_db.age;
owner = user;
group = group;
};
gitlab_initpw = {
file = ../../../sec/gitlab_initpw.age;
owner = user;
group = group;
};
gitlab_otp = {
file = ../../../sec/gitlab_otp.age;
owner = user;
group = group;
};
gitlab_pw = {
file = ../../../sec/gitlab_pw.age;
owner = user;
group = group;
};
gitlab_sec = {
file = ../../../sec/gitlab_sec.age;
owner = user;
group = group;
};
};
services.gitlab = {