2022-09-18 15:13:50 -07:00
|
|
|
{ self, profiles, suites, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./configuration.nix
|
2022-12-05 23:09:27 -08:00
|
|
|
../profiles/core
|
|
|
|
../profiles/server
|
|
|
|
../profiles/metrics
|
|
|
|
../profiles/sealight-website
|
|
|
|
../profiles/matrix
|
|
|
|
../profiles/wireguard-server
|
|
|
|
];
|
2022-09-18 15:13:50 -07:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
# };
|
|
|
|
}
|