1
1
Fork 0
nixos/profiles/server/default.nix

65 lines
1.4 KiB
Nix
Raw Normal View History

{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";
}
];
};
# TODO: Setup netdata
# 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";
};
};
};
}