forked from pub-solar/infra
tt-rss: lint with treefmt
This commit is contained in:
parent
2b1a5d6f7f
commit
79679720ff
|
@ -10,9 +10,7 @@ let
|
||||||
webserverGroup = "hakkonaut";
|
webserverGroup = "hakkonaut";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.users.nginx.extraGroups = [
|
users.users.nginx.extraGroups = [ webserverGroup ];
|
||||||
webserverGroup
|
|
||||||
];
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
let
|
||||||
ttrss-auth-oidc = pkgs.stdenv.mkDerivation {
|
ttrss-auth-oidc = pkgs.stdenv.mkDerivation {
|
||||||
name = "ttrss-auth-oidc";
|
name = "ttrss-auth-oidc";
|
||||||
version = "7ebfbc91e92bb133beb907c6bde79279ee5156df";
|
version = "7ebfbc91e92bb133beb907c6bde79279ee5156df";
|
||||||
|
@ -16,7 +17,8 @@
|
||||||
cp -r * $out/auth_oidc
|
cp -r * $out/auth_oidc
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
age.secrets.tt-rss-database-password = {
|
age.secrets.tt-rss-database-password = {
|
||||||
file = "${flake.self}/secrets/tt-rss-database-password.age";
|
file = "${flake.self}/secrets/tt-rss-database-password.age";
|
||||||
owner = "tt_rss";
|
owner = "tt_rss";
|
||||||
|
@ -54,9 +56,7 @@ in {
|
||||||
"note"
|
"note"
|
||||||
"auth_oidc"
|
"auth_oidc"
|
||||||
];
|
];
|
||||||
pluginPackages = [
|
pluginPackages = [ ttrss-auth-oidc ];
|
||||||
ttrss-auth-oidc
|
|
||||||
];
|
|
||||||
email = {
|
email = {
|
||||||
server = "mail.pub.solar";
|
server = "mail.pub.solar";
|
||||||
security = "tls";
|
security = "tls";
|
||||||
|
|
Loading…
Reference in a new issue