glauth: Further work

This commit is contained in:
kat witch 2021-09-04 23:26:14 +01:00
parent 74cc1b074b
commit 5920dc9595
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 8 additions and 8 deletions

View file

@ -142,7 +142,7 @@ in
after = databaseServices;
bindsTo = databaseServices;
wantedBy = singleton "multi-user.target";
path = [
path = with pkgs; [
cfg.package
replace-secret
];

View file

@ -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";
};

View file

@ -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