helm/hosts/helix/default.nix
2022-12-06 17:09:27 +10:00

38 lines
816 B
Nix

{ self, profiles, suites, ... }:
{
imports = [
./configuration.nix
../profiles/core
../profiles/server
../profiles/metrics
../profiles/sealight-website
../profiles/matrix
../profiles/wireguard-server
];
# Capsul specific
users.users.cyberian = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
mossnet.wg = {
enable = true;
ips = [ "10.0.69.5/24" ];
privateKeyFile = "/home/anish/wg/wg-priv";
};
# mossnet.backup = {
# enable = false;
# name = "sealight";
# paths = [ "/var/backup/postgresql" ];
# };
# age.secrets.borg-password.file = "${self}/secrets/borg-password.age";
# services.postgresqlBackup = {
# enable = false;
# databases = [ "matrix-synapse" "gitea" ];
# location = "/var/backup/postgresql";
# };
}