<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=FreshRSS</id>
	<title>FreshRSS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=FreshRSS"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=FreshRSS&amp;action=history"/>
	<updated>2026-07-14T02:07:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=FreshRSS&amp;diff=33158&amp;oldid=prev</id>
		<title>Arnecc: formatting fix for note on password file</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=FreshRSS&amp;diff=33158&amp;oldid=prev"/>
		<updated>2026-07-13T15:23:08Z</updated>

		<summary type="html">&lt;p&gt;formatting fix for note on password file&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:23, 13 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note|code=This password is only used for initial user creation. After first login, you should change it through the FreshRSS web interface. If you wish to stick with a password file, [https://github.com/ryantm/agenix agenix] or [https://github.com/mic92/sops-nix sops] should be used instead.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note|code=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;This password is only used for initial user creation. After first login, you should change it through the FreshRSS web interface. If you wish to stick with a password file, [https://github.com/ryantm/agenix agenix] or [https://github.com/mic92/sops-nix sops] should be used instead.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Caddy ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Caddy ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-33157:rev-33158:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Arnecc</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=FreshRSS&amp;diff=33157&amp;oldid=prev</id>
		<title>Arnecc: created initial page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=FreshRSS&amp;diff=33157&amp;oldid=prev"/>
		<updated>2026-07-13T14:20:28Z</updated>

		<summary type="html">&lt;p&gt;created initial page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;[https://freshrss.org FreshRSS]&amp;#039;&amp;#039;&amp;#039; is a self-hosted RSS and Atom feed aggregator. It is lightweight, multi-user, and supports custom tags, an API for mobile clients (Google Reader API and Fever API), WebSub push notifications, XPath-based web scraping (for generating feeds from websites that have no RSS/Atom feed published), OPML import/export, themes, and extensions.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Enable the FreshRSS module in your configuration:&lt;br /&gt;
&lt;br /&gt;
{{bc|1=&lt;br /&gt;
services.freshrss.enable = true;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This creates a PHP-FPM pool and an nginx virtual host automatically.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Basic setup ===&lt;br /&gt;
&lt;br /&gt;
{{bc|code=&lt;br /&gt;
  services.freshrss = {&lt;br /&gt;
    enable = true;&lt;br /&gt;
    virtualHost = &amp;quot;freshrss.example.com&amp;quot;;&lt;br /&gt;
    baseUrl = &amp;quot;https://freshrss.example.com&amp;quot;;&lt;br /&gt;
    webserver = &amp;quot;nginx&amp;quot;;&lt;br /&gt;
    defaultUser = &amp;quot;desired-user-name&amp;quot;;&lt;br /&gt;
    passwordFile = &amp;quot;/etc/secrets/freshrss&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Unlike some NixOS service modules, FreshRSS does not automatically create the database, so you must set it up yourself, e.g. using PostgreSQL:&lt;br /&gt;
&lt;br /&gt;
{{bc|code=&lt;br /&gt;
  services.postgresql = {&lt;br /&gt;
    enable = true;&lt;br /&gt;
    ensureDatabases = [ &amp;quot;freshrss&amp;quot; ];&lt;br /&gt;
    ensureUsers = [&lt;br /&gt;
      {&lt;br /&gt;
        name = &amp;quot;freshrss&amp;quot;;&lt;br /&gt;
        ensureDBOwnership = true;&lt;br /&gt;
      }&lt;br /&gt;
    ];&lt;br /&gt;
  };&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The module sets up the {{ic|root}} and {{ic|locations}} for the virtual host automatically. You are responsible for adding TLS settings ({{ic|forceSSL}}, {{ic|enableACME}} or {{ic|useACMEHost}}) to the virtual host.&lt;br /&gt;
&lt;br /&gt;
{{bc|code=&lt;br /&gt;
  services.nginx.virtualHosts.&amp;quot;freshrss.example.com&amp;quot; = {&lt;br /&gt;
    forceSSL = true;&lt;br /&gt;
    enableACME = true;&lt;br /&gt;
  };&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Password file ===&lt;br /&gt;
&lt;br /&gt;
The {{ic|passwordFile}} must contain the plaintext password and be readable by the {{ic|freshrss}} user:&lt;br /&gt;
&lt;br /&gt;
{{file|/etc/secrets/freshrss|text|your-password}}&lt;br /&gt;
&lt;br /&gt;
Create the file with correct permissions:&lt;br /&gt;
&lt;br /&gt;
{{bc|code=&lt;br /&gt;
$ sudo echo &amp;quot;your-password&amp;quot; {{!}} sudo tee /etc/secrets/freshrss&lt;br /&gt;
$ sudo chown freshrss:freshrss /etc/secrets/freshrss&lt;br /&gt;
$ sudo chmod 400 /etc/secrets/freshrss&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{note|code=This password is only used for initial user creation. After first login, you should change it through the FreshRSS web interface. If you wish to stick with a password file, [https://github.com/ryantm/agenix agenix] or [https://github.com/mic92/sops-nix sops] should be used instead.}}&lt;br /&gt;
&lt;br /&gt;
=== Caddy ===&lt;br /&gt;
&lt;br /&gt;
The module supports Caddy as an alternative to nginx via the {{nixos:option|services.freshrss.webserver}} option:&lt;br /&gt;
&lt;br /&gt;
{{bc|code=&lt;br /&gt;
  services.freshrss = {&lt;br /&gt;
    webserver = &amp;quot;caddy&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Caddy handles TLS automatically. Further customization can be done via {{nixos:option|services.caddy.virtualHosts}}.&lt;br /&gt;
&lt;br /&gt;
=== Mobile API ===&lt;br /&gt;
&lt;br /&gt;
To enable the Google Reader and Fever APIs for mobile clients:&lt;br /&gt;
&lt;br /&gt;
{{bc|code=&lt;br /&gt;
services.freshrss.api.enable = true;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Users must then set individual API passwords in their profile settings.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Tt-rss]] — an alternative self-hosted RSS reader with a NixOS module&lt;br /&gt;
* [[RSSHub]] — an RSS feed generator for sites that do not natively provide feeds&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://freshrss.org/ FreshRSS official website]&lt;br /&gt;
* [https://github.com/FreshRSS/FreshRSS FreshRSS on GitHub]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;/div&gt;</summary>
		<author><name>Arnecc</name></author>
	</entry>
</feed>