2024-03-15 21:32:09 +01:00
|
|
|
{config, ...}: let
|
|
|
|
vars = import ../../../../vars.nix;
|
|
|
|
in {
|
|
|
|
virtualisation.arion = {
|
|
|
|
projects.feed.settings = {
|
|
|
|
imports = [./arion-compose.nix];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-03-17 15:18:23 +01:00
|
|
|
sops.secrets."ttrss/db_password" = {
|
2024-03-15 21:32:09 +01:00
|
|
|
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"}"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|