74 lines
1.4 KiB
Nix
74 lines
1.4 KiB
Nix
{ pkgs, ... }: {
|
|
|
|
home.packages = with pkgs; [
|
|
# Build deps
|
|
nodejs
|
|
cmake
|
|
libtool
|
|
|
|
# Additional packages for functionality
|
|
mu
|
|
zip
|
|
unzip
|
|
isync
|
|
ispell
|
|
ledger
|
|
texliveFull
|
|
|
|
# Fonts
|
|
maple-mono.truetype
|
|
|
|
# LSP Servers
|
|
nil
|
|
ccls
|
|
yaml-language-server
|
|
python3Packages.python-lsp-server
|
|
nodePackages.typescript-language-server
|
|
nodePackages.vscode-json-languageserver
|
|
];
|
|
|
|
programs = {
|
|
emacs = {
|
|
enable = true;
|
|
package = pkgs.emacs30;
|
|
extraPackages = epkgs: with epkgs; [
|
|
mu4e
|
|
vterm
|
|
all-the-icons
|
|
nerd-icons
|
|
];
|
|
};
|
|
};
|
|
|
|
# Ignore insecure package libolm following deprecation.
|
|
# See: https://matrix.org/blog/2024/08/libolm-deprecation/
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"olm-3.2.16"
|
|
];
|
|
|
|
# Also fix broken pytests for pantalaimon.
|
|
# See: https://github.com/NixOS/nixpkgs/issues/471407
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
pantalaimon = prev.pantalaimon.overrideAttrs {
|
|
dontUsePytestCheck = "please dont";
|
|
};
|
|
})
|
|
];
|
|
|
|
services.pantalaimon = {
|
|
enable = true;
|
|
settings = {
|
|
Default = {
|
|
LogLevel = "debug";
|
|
SSL = true;
|
|
};
|
|
local-matrix = {
|
|
Homeserver = "https://matrix.org";
|
|
ListenAddress = "127.0.0.1";
|
|
ListenPort = 8008;
|
|
};
|
|
};
|
|
};
|
|
}
|