caddy: remove orphaned options
This commit is contained in:
@@ -96,9 +96,6 @@
|
|||||||
# TODO! generate website from repo directly using hugo
|
# TODO! generate website from repo directly using hugo
|
||||||
data_dir = services_dir + "/http/www";
|
data_dir = services_dir + "/http/www";
|
||||||
|
|
||||||
# KEEP UNTIL 2028
|
|
||||||
senior_project_dir = services_dir + "/http/senior_project";
|
|
||||||
|
|
||||||
domain = "gardling.com";
|
domain = "gardling.com";
|
||||||
wg_ip = "192.168.15.1";
|
wg_ip = "192.168.15.1";
|
||||||
matrix_hostname = "matrix.${service_configs.https.domain}";
|
matrix_hostname = "matrix.${service_configs.https.domain}";
|
||||||
|
|||||||
@@ -32,21 +32,8 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
# TODO! fix conflicting definition values
|
|
||||||
/*
|
|
||||||
(lib.serviceMountDeps "caddy" [
|
|
||||||
service_configs.https.senior_project_dir
|
|
||||||
])
|
|
||||||
*/
|
|
||||||
];
|
|
||||||
|
|
||||||
services.caddy.virtualHosts."senior-project.${service_configs.https.domain}".extraConfig = ''
|
services.caddy.virtualHosts."senior-project.${service_configs.https.domain}".extraConfig = ''
|
||||||
root * ${hugoWebsite}
|
root * ${hugoWebsite}
|
||||||
file_server browse
|
file_server browse
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
|
||||||
"d ${service_configs.https.senior_project_dir} 770 ${config.services.caddy.user} ${config.services.caddy.group}"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user