.dotfiles/profiles/nixos/server/emacs.nix
2025-01-01 15:59:58 +01:00

15 lines
251 B
Nix

{ lib, config, ... }:
{
config = lib.mkIf config.swarselsystems.server.emacs {
networking.firewall.allowedTCPPorts = [ 9812 ];
services.emacs = {
enable = true;
install = true;
startWithGraphical = false;
};
};
}