mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-09-13 22:12:03 +02:00
Compare commits
3 commits
7481f09d92
...
efd88fb11b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
efd88fb11b | ||
![]() |
c7b1cd723d | ||
![]() |
f0d997a340 |
3 changed files with 9 additions and 22 deletions
|
@ -128,7 +128,11 @@ in
|
|||
"/home/*/todo"
|
||||
] ++ cfg.exclude;
|
||||
|
||||
extraCreateArgs = "--exclude-caches --keep-exclude-tags --stats";
|
||||
extraCreateArgs = [
|
||||
"--exclude-caches"
|
||||
"--keep-exclude-tags"
|
||||
"--stats"
|
||||
];
|
||||
|
||||
encryption = {
|
||||
mode = "repokey-blake2";
|
||||
|
|
|
@ -164,12 +164,10 @@ in
|
|||
X-Permitted-Cross-Domain-Policies "none"
|
||||
}
|
||||
|
||||
# TODO: `config.services.nextcloud.package` does not contain additional apps. in nixpkgs there is "nextcloud-with-apps".
|
||||
# for now we use the path passed to nginx. Can be improved in 25.05 via: `config.services.nextcloud.finalPackage`
|
||||
root * ${config.services.nginx.virtualHosts."cloud.${domain}".root}
|
||||
root * ${config.services.nextcloud.finalPackage}
|
||||
file_server
|
||||
php_fastcgi unix/${config.services.phpfpm.pools."nextcloud".socket} {
|
||||
root ${config.services.nginx.virtualHosts."cloud.${domain}".root}
|
||||
root ${config.services.nextcloud.finalPackage}
|
||||
env front_controller_active true
|
||||
env modHeadersAvailable true
|
||||
}
|
||||
|
|
|
@ -18,24 +18,9 @@ in
|
|||
services.rss-bridge = {
|
||||
enable = true;
|
||||
config.system.enabled_bridges = [ "*" ]; # Whitelist all
|
||||
virtualHost = null;
|
||||
user = "caddy";
|
||||
group = "caddy";
|
||||
# TODO: with 25.05 this can be simplified via
|
||||
# webserver = "caddy";
|
||||
virtualHost = domain;
|
||||
webserver = "caddy";
|
||||
};
|
||||
my.services.webserver.virtualHosts = [
|
||||
{
|
||||
subdomain = "rss-bridge";
|
||||
extraConfig = ''
|
||||
root * ${pkgs.rss-bridge}
|
||||
php_fastcgi unix/${config.services.phpfpm.pools."rss-bridge".socket} {
|
||||
env RSSBRIDGE_fileCache_path ${config.services.rss-bridge.dataDir}/cache/
|
||||
}
|
||||
file_server
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
webapps.apps.rss-bridge = {
|
||||
dashboard = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue