mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
feat: test
This commit is contained in:
parent
955a803673
commit
bb4ee4a2e5
2 changed files with 66 additions and 66 deletions
|
@ -77,7 +77,7 @@ in
|
||||||
acme
|
acme
|
||||||
audiobookshelf
|
audiobookshelf
|
||||||
caddy
|
caddy
|
||||||
jellyfin
|
# jellyfin
|
||||||
logrotate
|
logrotate
|
||||||
mastodon
|
mastodon
|
||||||
minecraft
|
minecraft
|
||||||
|
|
|
@ -1,72 +1,72 @@
|
||||||
# { flake, ... }:
|
{ flake, ... }:
|
||||||
# let
|
let
|
||||||
# inherit (flake.config.people) user0;
|
inherit (flake.config.people) user0;
|
||||||
# inherit (flake.config.machines.devices) ceres;
|
inherit (flake.config.machines.devices) ceres;
|
||||||
# inherit (flake.config.services.instances) jellyfin web;
|
inherit (flake.config.services.instances) jellyfin web;
|
||||||
# service = jellyfin;
|
service = jellyfin;
|
||||||
# localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
# host = "${service.subdomain}.${web.domains.url0}";
|
host = "${service.subdomain}.${web.domains.url0}";
|
||||||
# in
|
in
|
||||||
{
|
{
|
||||||
# services = {
|
services = {
|
||||||
# jellyfin = {
|
jellyfin = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# openFirewall = true;
|
openFirewall = true;
|
||||||
# user = user0;
|
user = user0;
|
||||||
# };
|
};
|
||||||
# jellyseerr = {
|
jellyseerr = {
|
||||||
# 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 =
|
fileSystems =
|
||||||
# let
|
let
|
||||||
# settings = {
|
settings = {
|
||||||
# fsType = "none";
|
fsType = "none";
|
||||||
# options = [
|
options = [
|
||||||
# "bind"
|
"bind"
|
||||||
# ];
|
];
|
||||||
# depends = [
|
depends = [
|
||||||
# ceres.storage0.mount
|
ceres.storage0.mount
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
# in
|
in
|
||||||
# {
|
{
|
||||||
# "/var/lib/${service.name}" = {
|
"/var/lib/${service.name}" = {
|
||||||
# device = service.paths.path0;
|
device = service.paths.path0;
|
||||||
# } // settings;
|
} // settings;
|
||||||
# "/var/cache/${service.name}" = {
|
"/var/cache/${service.name}" = {
|
||||||
# device = "${service.paths.path1}";
|
device = "${service.paths.path1}";
|
||||||
# } // settings;
|
} // settings;
|
||||||
# };
|
};
|
||||||
|
|
||||||
# systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
# "Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
"Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
||||||
# "Z ${service.paths.path1} 0755 ${user0} ${service.name} -"
|
"Z ${service.paths.path0} 0755 ${user0} ${service.name} -"
|
||||||
# ];
|
];
|
||||||
|
|
||||||
# networking = {
|
networking = {
|
||||||
# firewall = {
|
firewall = {
|
||||||
# allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
# service.ports.port0
|
service.ports.port0
|
||||||
# service.ports.port1
|
service.ports.port1
|
||||||
# service.ports.port2
|
service.ports.port2
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue