mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
glauth: Further work
This commit is contained in:
parent
74cc1b074b
commit
5920dc9595
4 changed files with 8 additions and 8 deletions
|
|
@ -142,7 +142,7 @@ in
|
|||
after = databaseServices;
|
||||
bindsTo = databaseServices;
|
||||
wantedBy = singleton "multi-user.target";
|
||||
path = [
|
||||
path = with pkgs; [
|
||||
cfg.package
|
||||
replace-secret
|
||||
];
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
database = {
|
||||
enable = true;
|
||||
type = "postgres";
|
||||
passwordFile = config.secrets.files.glauth-password-file.path;
|
||||
passwordFile = config.secrets.files.glauth-postgres-file.path;
|
||||
};
|
||||
settings = {
|
||||
syslog = true;
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
};
|
||||
users = [{
|
||||
name = "kat";
|
||||
passsha256 = tf.variables.glauth-password.ref;
|
||||
passsha256 = tf.variables.glauth-password-hash.ref;
|
||||
uidnumber = 1000;
|
||||
primarygroup = 1500;
|
||||
}];
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
secrets.files = {
|
||||
glauth-postgres-file = {
|
||||
text = "${tf.variables.glauth-postgres.ref}";
|
||||
text = tf.variables.glauth-postgres.ref;
|
||||
owner = "glauth";
|
||||
group = "glauth";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -89,10 +89,10 @@
|
|||
"homepage": null,
|
||||
"owner": "kittywitch",
|
||||
"repo": "nixexprs",
|
||||
"rev": "ee427185906d11bb33b10fa9215d65f9cc8cfc37",
|
||||
"sha256": "13b910rhv8fhf0ls1ajnvz2nc9dvkphxf1hyqbf13c448rvn8ds3",
|
||||
"rev": "90f41efe41ef038648a9b7bb3c86f82a94faec98",
|
||||
"sha256": "125msdla0kk7jswcxyvbslwdl76v5dmpx3jb4i0psvxafyhr6zbx",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/kittywitch/nixexprs/archive/ee427185906d11bb33b10fa9215d65f9cc8cfc37.tar.gz",
|
||||
"url": "https://github.com/kittywitch/nixexprs/archive/90f41efe41ef038648a9b7bb3c86f82a94faec98.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"niv": {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit ee427185906d11bb33b10fa9215d65f9cc8cfc37
|
||||
Subproject commit 90f41efe41ef038648a9b7bb3c86f82a94faec98
|
||||
Loading…
Add table
Add a link
Reference in a new issue