.dotfiles/profiles/server/common/nixos/emacs.nix

30 lines
602 B
Nix

{ lib, config, ... }:
{
config = lib.mkIf config.swarselsystems.server.emacs {
services.emacs = {
enable = true;
install = true;
startWithGraphical = false;
};
services.nginx = {
virtualHosts = {
"signpost.swarsel.win" = {
enableACME = true;
forceSSL = true;
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://localhost:54169";
extraConfig = ''
client_max_body_size 0;
'';
};
};
};
};
};
};
}