Browse Source

feat: Update config

dev
Dale 2 months ago
parent
commit
4117fa00d8
Signed by: Deiru GPG Key ID: AA250C0277B927E1
  1. 10
      module.nix
  2. 7
      src/config/local.json

10
module.nix

@ -29,20 +29,10 @@ in {
};
};
mastodon = {
instanceUrl = mkOption {
type = types.str;
default = "https://gensokyo.social";
};
returnUrl = mkOption {
type = types.str;
default = "https://mcauth.gensokyo.social/success";
};
clientId = mkOption {
type = types.str;
};
clientSecret = mkOption {
type = types.str;
};
};
database = {
host = mkOption {

7
src/config/local.json

@ -1,14 +1,11 @@
{
"name": "Coffee Accounting",
"name": "Gensokyo Auth",
"database": {
"host": "localhost",
"port": 28015,
"db": "gensokyo-auth"
},
"mastodon": {
"instanceUrl": "https://gensokyo.social",
"clientId": "",
"returnUrl": "http://localhost:8082/success",
"clientSecret": ""
"returnUrl": "http://localhost:8082/success"
}
}
Loading…
Cancel
Save