mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-25 07:03:08 +02:00
21 lines
547 B
Nix
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";
|
|
};
|
|
};
|
|
}
|