68 lines
1.5 KiB
Nix
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;
|
|
# };
|
|
};
|
|
}
|