flake: convert secrets to module argument
This commit is contained in:
parent
941b8060c9
commit
303c344ffb
7 changed files with 13 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, common, pkgs, ... }:
|
||||
{ config, common, secrets, pkgs, ... }:
|
||||
let
|
||||
cfg = config.services.forgejo;
|
||||
domain = common.subdomain "git";
|
||||
|
@ -21,7 +21,7 @@ in
|
|||
|
||||
lfs.enable = true;
|
||||
|
||||
secrets.mailer.PASSWD = config.secrets.smtp-password;
|
||||
secrets.mailer.PASSWD = secrets.smtp-password;
|
||||
settings = {
|
||||
server = {
|
||||
ROOT_URL = "https://${domain}/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue