38 lines
816 B
Nix
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";
|
|
# };
|
|
}
|