2024-10-09 22:39:14 +00:00
|
|
|
{config, ...}: {
|
2024-09-09 00:22:14 +00:00
|
|
|
custom = {
|
|
|
|
profile = "server";
|
|
|
|
programs.fastfetch.greet = true;
|
|
|
|
|
2024-10-06 15:16:52 +00:00
|
|
|
containers = {
|
|
|
|
enable = true;
|
|
|
|
boot = true;
|
2024-10-09 22:39:14 +00:00
|
|
|
#// actualbudget.enable = true;
|
2024-10-17 01:39:08 +00:00
|
|
|
conduwuit.enable = true;
|
2024-10-06 15:16:52 +00:00
|
|
|
coturn.enable = true;
|
|
|
|
forgejo.enable = true;
|
|
|
|
foundryvtt.enable = true;
|
|
|
|
#// headscale.enable = true;
|
|
|
|
mastodon.enable = true;
|
|
|
|
netbox.enable = true;
|
|
|
|
nextcloud.enable = true;
|
|
|
|
redlib.enable = true;
|
|
|
|
searxng.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-09-09 00:22:14 +00:00
|
|
|
services = {
|
|
|
|
caddy.enable = true;
|
2024-10-17 01:39:08 +00:00
|
|
|
#// matrix-conduit.enable = true;
|
2024-09-09 00:22:14 +00:00
|
|
|
#// modufur.enable = true;
|
2024-10-09 22:39:14 +00:00
|
|
|
#// tailscale.cert = true;
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
borgmatic = {
|
|
|
|
enable = true;
|
2024-10-09 22:39:14 +00:00
|
|
|
|
2024-09-09 00:22:14 +00:00
|
|
|
sources = [
|
2024-10-09 22:39:14 +00:00
|
|
|
config.custom.containers.directory
|
2024-09-09 00:22:14 +00:00
|
|
|
"/home"
|
2024-10-09 22:39:14 +00:00
|
|
|
"/mnt/local"
|
2024-09-09 00:22:14 +00:00
|
|
|
"/srv"
|
2024-10-26 19:56:43 +00:00
|
|
|
#// "/var/lib/matrix-conduit"
|
2024-09-09 00:22:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
repositories = [
|
|
|
|
{
|
2024-10-09 22:39:14 +00:00
|
|
|
path = "ssh://ysrll00y@ysrll00y.repo.borgbase.com/./repo";
|
|
|
|
label = "server";
|
2024-09-09 00:22:14 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-12-07 01:47:36 +00:00
|
|
|
# TODO: Setup netdata
|
2024-09-09 00:22:14 +00:00
|
|
|
# netdata = {
|
|
|
|
# enable = true;
|
|
|
|
# parent = true;
|
|
|
|
# };
|
|
|
|
|
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
configDir = "/var/lib/syncthing";
|
2024-10-09 22:39:14 +00:00
|
|
|
dataDir = "/mnt/local/syncthing";
|
|
|
|
mount = "mnt-local.mount";
|
2024-09-09 00:22:14 +00:00
|
|
|
type = "receiveonly";
|
|
|
|
user = "syncthing";
|
|
|
|
group = "syncthing";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|