tt-rss: lint with treefmt

This commit is contained in:
teutat3s 2024-07-18 17:49:29 +02:00
parent 2b1a5d6f7f
commit 79679720ff
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 12 additions and 14 deletions

View file

@ -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;

View file

@ -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";