1
1
Fork 0
nixos/profiles/server/default.nix
Myned eb1c5d0b56
conduwuit: migrate to container
Signed-off-by: Myned <dev@bjork.tech>
2024-10-16 20:39:08 -05:00

68 lines
1.5 KiB
Nix

{config, ...}: {
custom = {
profile = "server";
programs.fastfetch.greet = true;
containers = {
enable = true;
boot = true;
#// actualbudget.enable = true;
conduwuit.enable = true;
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;
};
services = {
caddy.enable = true;
#// matrix-conduit.enable = true;
#// modufur.enable = true;
#// tailscale.cert = true;
borgmatic = {
enable = true;
sources = [
config.custom.containers.directory
"/home"
"/mnt/local"
"/srv"
"/var/lib/matrix-conduit"
];
repositories = [
{
path = "ssh://ysrll00y@ysrll00y.repo.borgbase.com/./repo";
label = "server";
}
];
};
# netdata = {
# enable = true;
# parent = true;
# };
syncthing = {
enable = true;
configDir = "/var/lib/syncthing";
dataDir = "/mnt/local/syncthing";
mount = "mnt-local.mount";
type = "receiveonly";
user = "syncthing";
group = "syncthing";
};
};
# settings = {
# mounts.enable = true;
# #// users.myned.linger = true;
# };
};
}