nixos-dotfiles/hosts/titan/services/iceshrimp.nix
Alex Stan 93a8040de5 slskd and stuff
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>

unfuck the merge
2024-10-16 08:14:19 +03:00

21 lines
547 B
Nix

inputs: { pkgs, config, ... }: {
imports = [
inputs.iceshrimp.nixosModules.iceshrimp
];
services.iceshrimp = {
enable = true;
createDb = true;
dbPasswordFile = /var/keys/iceshrimpdbpass;
secretConfig = /var/keys/is_secrets.yml;
settings = {
url = "https://is.phite.ro";
accountDomain = "phite.ro";
port = 3010;
maxNoteLength = 100000;
maxCaptionLength = 8192;
disableHsts = true; # caddy will handle that
clusterLimit = 4;
outgoingAddressFamily = "dual";
};
};
}