mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: test
This commit is contained in:
parent
4414a27938
commit
54490b968c
1 changed files with 36 additions and 36 deletions
|
@ -18,47 +18,47 @@ in
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
caddy = {
|
# caddy = {
|
||||||
virtualHosts = {
|
# virtualHosts = {
|
||||||
"${host}" = {
|
# "${host}" = {
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
redir /.well-known/carddav /remote.php/dav/ 301
|
# redir /.well-known/carddav /remote.php/dav/ 301
|
||||||
redir /.well-known/caldav /remote.php/dav/ 301
|
# redir /.well-known/caldav /remote.php/dav/ 301
|
||||||
|
|
||||||
reverse_proxy ${localhost}:${toString service.ports.port1}
|
# reverse_proxy ${localhost}:${toString service.ports.port1}
|
||||||
|
|
||||||
tls ${service.ssl.cert} ${service.ssl.key}
|
# tls ${service.ssl.cert} ${service.ssl.key}
|
||||||
'';
|
# '';
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# fileSystems =
|
|
||||||
# let
|
|
||||||
# settings = {
|
|
||||||
# fsType = "none";
|
|
||||||
# options = [
|
|
||||||
# "bind"
|
|
||||||
# ];
|
|
||||||
# depends = [
|
|
||||||
# ceres.storage0.mount
|
|
||||||
# ];
|
|
||||||
# };
|
# };
|
||||||
# in
|
|
||||||
# {
|
|
||||||
# "/var/lib/${service.name}" = {
|
|
||||||
# device = service.paths.path0;
|
|
||||||
# } // settings;
|
|
||||||
# "/var/cache/${service.name}" = {
|
|
||||||
# device = "${service.paths.path1}";
|
|
||||||
# } // settings;
|
|
||||||
# };
|
# };
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
|
||||||
# systemd.tmpfiles.rules = [
|
fileSystems =
|
||||||
# "Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
let
|
||||||
# "Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
settings = {
|
||||||
# ];
|
fsType = "none";
|
||||||
|
options = [
|
||||||
|
"bind"
|
||||||
|
];
|
||||||
|
depends = [
|
||||||
|
ceres.storage0.mount
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
"/var/lib/${service.name}" = {
|
||||||
|
device = service.paths.path0;
|
||||||
|
} // settings;
|
||||||
|
"/var/cache/${service.name}" = {
|
||||||
|
device = "${service.paths.path1}";
|
||||||
|
} // settings;
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
||||||
|
"Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
||||||
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue