Adding miniflux to kernighan
This commit is contained in:
parent
74a3b26906
commit
1cb4dd1813
|
@ -8,6 +8,7 @@
|
||||||
./kernighan-hardware.nix
|
./kernighan-hardware.nix
|
||||||
../shared/services/syncthing.nix
|
../shared/services/syncthing.nix
|
||||||
../shared/services/gitweb.nix
|
../shared/services/gitweb.nix
|
||||||
|
../shared/services/miniflux.nix
|
||||||
../shared/services/nginx.nix
|
../shared/services/nginx.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.miniflux = {
|
||||||
|
enable = true;
|
||||||
|
adminCredentialsFile = "/home/tsv/.miniflux_admin_credentials";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -4,15 +4,20 @@
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
recommendedGzipSettings = true;
|
||||||
|
recommendedOptimisation = true;
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
recommendedTlsSettings = true;
|
||||||
|
|
||||||
gitweb = {
|
gitweb = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHost = "git.tsvallender.co.uk";
|
virtualHost = "git.tsvallender.co.uk";
|
||||||
location = "/home/tsv/git";
|
location = "/home/tsv/git";
|
||||||
};
|
};
|
||||||
recommendedGzipSettings = true;
|
virtualHosts."git.tsvallender.co.uk" = {
|
||||||
recommendedOptimisation = true;
|
forceSSL = true;
|
||||||
recommendedProxySettings = true;
|
enableACME = true;
|
||||||
recommendedTlsSettings = true;
|
};
|
||||||
|
|
||||||
virtualHosts."syncthing.tsvallender.co.uk" = {
|
virtualHosts."syncthing.tsvallender.co.uk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
@ -21,11 +26,16 @@
|
||||||
proxyPass = "http://127.0.0.1:8384";
|
proxyPass = "http://127.0.0.1:8384";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
virtualHosts."git.tsvallender.co.uk" = {
|
|
||||||
|
virtualHosts."feeds.tsvallender.co.uk" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
Loading…
Reference in New Issue