23 lines
465 B
Nix
23 lines
465 B
Nix
|
{config, ...}: let
|
||
|
vars = import ../../../../vars.nix;
|
||
|
in {
|
||
|
virtualisation.arion = {
|
||
|
projects.feed.settings = {
|
||
|
imports = [./arion-compose.nix];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
sops.secrets."ttrs/db_password" = {
|
||
|
owner = vars.user;
|
||
|
};
|
||
|
|
||
|
sops.templates."ttrss.env" = {
|
||
|
path = "/home/${vars.user}/.docker/feed/ttrss.env";
|
||
|
owner = vars.user;
|
||
|
mode = "0775";
|
||
|
content = ''
|
||
|
DB_PASS="${config.sops.placeholder."ttrss/db_password"}"
|
||
|
'';
|
||
|
};
|
||
|
}
|