mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Merge branch 'master' of github.com:starr-dusT/dotfiles
This commit is contained in:
commit
caaf111554
@ -1,7 +1,6 @@
|
|||||||
{ config, pkgs, user, lib, ... }:
|
{ config, pkgs, user, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./rss.nix
|
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./obsidian-vault.nix
|
./obsidian-vault.nix
|
||||||
./share.nix
|
./share.nix
|
||||||
|
./rss.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
@ -116,6 +117,9 @@
|
|||||||
"rss.tstarr.us" = (SSL // {
|
"rss.tstarr.us" = (SSL // {
|
||||||
locations."/".proxyPass = "http://localhost:8081/";
|
locations."/".proxyPass = "http://localhost:8081/";
|
||||||
});
|
});
|
||||||
|
"rss1.tstarr.us" = (SSL // {
|
||||||
|
locations."/".proxyPass = "http://localhost:8087/";
|
||||||
|
});
|
||||||
"rssbridge.tstarr.us" = (SSL // {
|
"rssbridge.tstarr.us" = (SSL // {
|
||||||
locations."/".proxyPass = "http://localhost:3000/";
|
locations."/".proxyPass = "http://localhost:3000/";
|
||||||
});
|
});
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authentication = pkgs.lib.mkOverride 10 ''
|
authentication = pkgs.lib.mkOverride 10 ''
|
||||||
@ -8,13 +7,18 @@
|
|||||||
local all all trust
|
local all all trust
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 8087 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 8087 ];
|
||||||
|
|
||||||
services.miniflux = {
|
services.miniflux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
LISTEN_ADDR = "localhost:8087";
|
PORT = "8087";
|
||||||
# Break youtube embeds so they dont show
|
# Break youtube embeds so they dont show
|
||||||
YOUTUBE_EMBED_URL_OVERRIDE="https://";
|
YOUTUBE_EMBED_URL_OVERRIDE="https://";
|
||||||
};
|
};
|
||||||
|
# Set initial admin user/password
|
||||||
adminCredentialsFile = pkgs.writeText "cred" ''
|
adminCredentialsFile = pkgs.writeText "cred" ''
|
||||||
ADMIN_USERNAME=miniflux
|
ADMIN_USERNAME=miniflux
|
||||||
ADMIN_PASSWORD=miniflux
|
ADMIN_PASSWORD=miniflux
|
Loading…
x
Reference in New Issue
Block a user