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